Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 213.6 kB / 22.25 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.18/3.18, allocations: 0.4892 GB / 0.7943 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 65.3 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3481, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004421/0.3525, allocations: 2.13 MB / 1.327 GB, free: 228 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.186/0.5385, allocations: 132.4 MB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.5388, allocations: 3.938 kB / 1.456 GB, free: 11.33 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.54, allocations: 0.7717 MB / 1.457 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.5411, allocations: 0.5336 MB / 1.458 GB, free: 10.02 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.5421, allocations: 334.8 kB / 1.458 GB, free: 9.695 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0007943/0.5429, allocations: 0.5888 MB / 1.459 GB, free: 9.102 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.5431, allocations: 56.88 kB / 1.459 GB, free: 9.047 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.5444, allocations: 374.6 kB / 1.459 GB, free: 8.691 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000676/0.5451, allocations: 0.5191 MB / 1.459 GB, free: 8.172 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.5451, allocations: 24 kB / 1.46 GB, free: 8.148 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007427/0.5459, allocations: 287.6 kB / 1.46 GB, free: 7.867 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002186/0.5461, allocations: 199.5 kB / 1.46 GB, free: 7.672 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.5463, allocations: 198.4 kB / 1.46 GB, free: 7.477 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.5475, allocations: 0.77 MB / 1.461 GB, free: 6.703 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.5475, allocations: 0 / 1.461 GB, free: 6.703 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5475, allocations: 0 / 1.461 GB, free: 6.703 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.826e-06/0.5475, allocations: 0 / 1.461 GB, free: 6.703 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001875/0.5494, allocations: 1.047 MB / 1.462 GB, free: 5.621 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.5494, allocations: 8.031 kB / 1.462 GB, free: 5.613 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.724e-05/0.5495, allocations: 54.55 kB / 1.462 GB, free: 5.551 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.5512, allocations: 215.2 kB / 1.462 GB, free: 5.34 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007352/0.5519, allocations: 437.3 kB / 1.463 GB, free: 4.883 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.5519, allocations: 16.38 kB / 1.463 GB, free: 4.867 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.552, allocations: 19.94 kB / 1.463 GB, free: 4.848 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009695/0.5529, allocations: 346.8 kB / 1.463 GB, free: 4.496 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.553, allocations: 0 / 1.463 GB, free: 4.496 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.553, allocations: 8 kB / 1.463 GB, free: 4.488 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.553, allocations: 4 kB / 1.463 GB, free: 4.484 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.5544, allocations: 360.6 kB / 1.463 GB, free: 4.133 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.5569, allocations: 1.041 MB / 1.464 GB, free: 3.043 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.5581, allocations: 397.3 kB / 1.465 GB, free: 2.637 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006966/0.5588, allocations: 209.4 kB / 1.465 GB, free: 2.426 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 5.503e-05/0.5588, allocations: 11.88 kB / 1.465 GB, free: 2.414 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008692/0.5597, allocations: 308.8 kB / 1.465 GB, free: 2.094 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 2.053e-06/0.5597, allocations: 0 / 1.465 GB, free: 2.094 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.008685/0.5684, allocations: 1.167 MB / 1.466 GB, free: 0.918 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.608e-05/0.5685, allocations: 81.11 kB / 1.466 GB, free: 0.8203 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/0.5702, allocations: 1.392 MB / 1.468 GB, free: 15.42 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.604e-05/0.5703, allocations: 33.7 kB / 1.468 GB, free: 15.38 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000382/0.5706, allocations: 368.5 kB / 1.468 GB, free: 15.01 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.5708, allocations: 107.1 kB / 1.468 GB, free: 14.91 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.5709, allocations: 69.61 kB / 1.468 GB, free: 14.83 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001944/0.5711, allocations: 325.9 kB / 1.469 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006514/0.5717, allocations: 183.7 kB / 1.469 GB, free: 14.33 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000745/0.5725, allocations: 285.3 kB / 1.469 GB, free: 14.02 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001391/0.5739, allocations: 409.8 kB / 1.47 GB, free: 13.6 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5739, allocations: 0 / 1.47 GB, free: 13.6 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003929/0.5778, allocations: 0.7339 MB / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5778, allocations: 5.406 kB / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.5778, allocations: 0 / 1.47 GB, free: 12.86 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.5789, allocations: 176.7 kB / 1.47 GB, free: 12.68 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.5793, allocations: 63.91 kB / 1.47 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/0.5872, allocations: 2.191 MB / 1.473 GB, free: 10.32 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.5878, allocations: 35.92 kB / 1.473 GB, free: 10.28 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.5878, allocations: 23.98 kB / 1.473 GB, free: 10.26 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004588/0.5883, allocations: 298.6 kB / 1.473 GB, free: 9.957 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.5884, allocations: 91.33 kB / 1.473 GB, free: 9.867 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/0.5927, allocations: 0.8491 MB / 1.474 GB, free: 9.004 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5927, allocations: 4 kB / 1.474 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.5927, allocations: 0 / 1.474 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5927, allocations: 0 / 1.474 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.5934, allocations: 0.53 MB / 1.474 GB, free: 8.426 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5934, allocations: 4 kB / 1.474 GB, free: 8.422 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003189/0.5937, allocations: 63.89 kB / 1.474 GB, free: 8.359 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000989/0.5947, allocations: 172.7 kB / 1.475 GB, free: 8.188 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.5948, allocations: 19.97 kB / 1.475 GB, free: 8.168 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007607/0.6024, allocations: 2.173 MB / 1.477 GB, free: 5.879 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6024, allocations: 0 / 1.477 GB, free: 5.879 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004103/0.6065, allocations: 0.8107 MB / 1.478 GB, free: 5.043 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.6066, allocations: 83.3 kB / 1.478 GB, free: 4.961 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.6067, allocations: 15.94 kB / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.6071, allocations: 23.97 kB / 1.478 GB, free: 4.922 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.6072, allocations: 27.95 kB / 1.478 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.6073, allocations: 15.98 kB / 1.478 GB, free: 4.879 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001241/0.6085, allocations: 1.042 MB / 1.479 GB, free: 3.84 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6085, allocations: 3.938 kB / 1.479 GB, free: 3.836 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0005432/0.609, allocations: 115.8 kB / 1.479 GB, free: 3.723 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006215/0.6153, allocations: 1.703 MB / 1.481 GB, free: 2.172 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001946/0.6172, allocations: 0.5645 MB / 1.481 GB, free: 1.594 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6172, allocations: 4 kB / 1.481 GB, free: 1.59 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.6183, allocations: 358.4 kB / 1.481 GB, free: 1.227 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007334/0.619, allocations: 125.7 kB / 1.482 GB, free: 1.109 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01619/0.6352, allocations: 6.477 MB / 1.488 GB, free: 10.45 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004895/0.6357, allocations: 380.2 kB / 1.488 GB, free: 10.06 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.000422/0.6361, allocations: 90.84 kB / 1.488 GB, free: 9.973 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004613/0.6366, allocations: 251.3 kB / 1.489 GB, free: 9.727 MB / 1.186 GB Notification: Performance of SimCode: time 1.482e-06/0.6366, allocations: 4 kB / 1.489 GB, free: 9.723 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06033/0.6969, allocations: 19.62 MB / 1.508 GB, free: 6.293 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.27, allocations: 11.53 kB / 1.508 GB, free: 6.285 MB / 1.201 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 Buildings_12_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Comfort.Validation.FangerCBE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 21.11246115108952]