Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008573/0.008573, allocations: 102.2 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 197.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.892/2.892, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.91 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3512, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002911/0.3542, allocations: 1.445 MB / 1.209 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008578/0.3551, allocations: 382.8 kB / 1.209 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.836e-05/0.3551, allocations: 4 kB / 1.209 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.3552, allocations: 3.938 kB / 1.209 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.567e-05/0.3552, allocations: 3.938 kB / 1.209 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005023/0.3558, allocations: 111.5 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.654e-05/0.3558, allocations: 27.92 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.3559, allocations: 4 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.216e-05/0.356, allocations: 19.91 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.841e-05/0.3561, allocations: 15.92 kB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.3561, allocations: 4 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004217/0.3565, allocations: 271.7 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.738e-05/0.3565, allocations: 7.984 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.3566, allocations: 7.938 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3568, allocations: 115.8 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3568, allocations: 0 / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3568, allocations: 0 / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.3568, allocations: 0 / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005109/0.3574, allocations: 363.7 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3574, allocations: 8.625 kB / 1.21 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.3575, allocations: 38.69 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.3575, allocations: 0.9375 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.3577, allocations: 176.2 kB / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.3577, allocations: 384 / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.3577, allocations: 384 / 1.21 GB, free: 7.047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3579, allocations: 50.23 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3579, allocations: 7.938 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3579, allocations: 0 / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3579, allocations: 0 / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.3581, allocations: 31.97 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00034/0.3584, allocations: 252.9 kB / 1.211 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.3586, allocations: 50.44 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3588, allocations: 24.89 kB / 1.211 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007458/0.3595, allocations: 457.5 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3596, allocations: 30.56 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3596, allocations: 0 / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003883/0.36, allocations: 85.58 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.36, allocations: 55.41 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.333e-05/0.3601, allocations: 101.8 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.3601, allocations: 33.83 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.3602, allocations: 91.98 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.3602, allocations: 0 / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.3602, allocations: 17.7 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3603, allocations: 314.8 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.3604, allocations: 11.98 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.041e-05/0.3605, allocations: 19.98 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.3607, allocations: 44.88 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3607, allocations: 3.938 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002196/0.3609, allocations: 73.5 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3609, allocations: 5.406 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.361, allocations: 0 / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.361, allocations: 4.031 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.446e-05/0.3611, allocations: 12 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3611, allocations: 0 / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.3611, allocations: 7.984 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3612, allocations: 3.984 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.19e-05/0.3612, allocations: 113.8 kB / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.921e-05/0.3613, allocations: 0 / 1.212 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002379/0.3615, allocations: 81.42 kB / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3616, allocations: 0 / 1.212 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3616, allocations: 7.938 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3616, allocations: 0 / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.3618, allocations: 165.5 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3618, allocations: 0 / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.886e-05/0.3619, allocations: 11.92 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3619, allocations: 0 / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3619, allocations: 0 / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.3619, allocations: 4.031 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3619, allocations: 4 kB / 1.212 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3622, allocations: 167.4 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.264e-05/0.3622, allocations: 77.11 kB / 1.212 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.489e-05/0.3623, allocations: 3.984 kB / 1.212 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.3623, allocations: 4 kB / 1.213 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.3624, allocations: 12.03 kB / 1.213 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3624, allocations: 3.984 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.163e-05/0.3624, allocations: 79.28 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.874e-06/0.3625, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002361/0.3627, allocations: 15.94 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007043/0.3634, allocations: 0.7163 MB / 1.213 GB, free: 3.48 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3636, allocations: 31.97 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3636, allocations: 0 / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.708e-05/0.3637, allocations: 19.92 kB / 1.213 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3641, allocations: 20.08 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005565/0.3646, allocations: 143 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.365, allocations: 0.6768 MB / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.3651, allocations: 0 / 1.214 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.3651, allocations: 15.44 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of SimCode: time 3.5e-07/0.3651, allocations: 0 / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02274/0.3879, allocations: 1.622 MB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/8.021, allocations: 12.53 kB / 1.216 GB, free: 0.9648 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_RegNonZeroPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.RegNonZeroPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches