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.00126/0.00126, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001444/0.001444, allocations: 221.5 kB / 22.25 MB, free: 5.105 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 7.781 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.32/3.32, allocations: 0.49 GB / 0.7951 GB, free: 35.51 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.00213/0.00213, allocations: 75.8 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3962, allocations: 176.1 MB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004347/0.4005, allocations: 2.138 MB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1971/0.5977, allocations: 132.4 MB / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.5979, allocations: 7.938 kB / 1.457 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001232/0.5992, allocations: 0.7795 MB / 1.458 GB, free: 9.695 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.6002, allocations: 0.5258 MB / 1.458 GB, free: 9.168 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009539/0.6012, allocations: 342.8 kB / 1.459 GB, free: 8.832 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0008965/0.6021, allocations: 0.5887 MB / 1.459 GB, free: 8.238 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.6023, allocations: 56.89 kB / 1.459 GB, free: 8.184 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.6035, allocations: 367.2 kB / 1.46 GB, free: 7.836 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009695/0.6045, allocations: 0.5347 MB / 1.46 GB, free: 7.301 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.6046, allocations: 28 kB / 1.46 GB, free: 7.273 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007708/0.6054, allocations: 291.6 kB / 1.461 GB, free: 6.988 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.6056, allocations: 195.7 kB / 1.461 GB, free: 6.797 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.6058, allocations: 198.4 kB / 1.461 GB, free: 6.602 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.6069, allocations: 0.7661 MB / 1.462 GB, free: 5.832 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.6069, allocations: 0 / 1.462 GB, free: 5.832 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6069, allocations: 4 kB / 1.462 GB, free: 5.828 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.514e-05/0.607, allocations: 3.938 kB / 1.462 GB, free: 5.824 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.001988/0.609, allocations: 1.039 MB / 1.463 GB, free: 4.75 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.609, allocations: 11.97 kB / 1.463 GB, free: 4.738 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.6091, allocations: 54.55 kB / 1.463 GB, free: 4.676 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.6107, allocations: 215.2 kB / 1.463 GB, free: 4.465 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008475/0.6115, allocations: 433.3 kB / 1.463 GB, free: 4.012 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.6116, allocations: 12.38 kB / 1.463 GB, free: 4 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.6116, allocations: 24 kB / 1.463 GB, free: 3.977 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000993/0.6126, allocations: 346.8 kB / 1.464 GB, free: 3.625 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.6126, allocations: 0 / 1.464 GB, free: 3.625 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.6127, allocations: 4 kB / 1.464 GB, free: 3.621 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.6127, allocations: 11.94 kB / 1.464 GB, free: 3.609 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.614, allocations: 360.6 kB / 1.464 GB, free: 3.258 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.6165, allocations: 1.045 MB / 1.465 GB, free: 2.164 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001239/0.6177, allocations: 394.5 kB / 1.466 GB, free: 1.762 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007426/0.6185, allocations: 201.4 kB / 1.466 GB, free: 1.559 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 4.532e-05/0.6185, allocations: 7.938 kB / 1.466 GB, free: 1.551 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000928/0.6194, allocations: 312.8 kB / 1.466 GB, free: 1.227 MB / 1.154 GB Notification: Performance of pre-optimization done (n=30): time 5.35e-06/0.6194, allocations: 3.984 kB / 1.466 GB, free: 1.223 MB / 1.154 GB Notification: Performance of matching and sorting (n=30): time 0.008521/0.628, allocations: 1.177 MB / 1.467 GB, free: 40 kB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002258/0.6282, allocations: 85.05 kB / 1.467 GB, free: 15.94 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/0.6301, allocations: 1.384 MB / 1.469 GB, free: 14.54 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 5.743e-05/0.6302, allocations: 33.7 kB / 1.469 GB, free: 14.5 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005334/0.6307, allocations: 372.5 kB / 1.469 GB, free: 14.13 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.6309, allocations: 107.1 kB / 1.469 GB, free: 14.03 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.631, allocations: 65.67 kB / 1.469 GB, free: 13.96 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.6312, allocations: 325.9 kB / 1.469 GB, free: 13.63 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.6319, allocations: 183.7 kB / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/0.6326, allocations: 281.3 kB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/0.6343, allocations: 404.3 kB / 1.47 GB, free: 12.73 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.6343, allocations: 4 kB / 1.47 GB, free: 12.73 MB / 1.17 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003924/0.6383, allocations: 0.7375 MB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.6383, allocations: 8 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.6383, allocations: 64 / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.6395, allocations: 176.7 kB / 1.471 GB, free: 11.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.6398, allocations: 63.89 kB / 1.471 GB, free: 11.74 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008549/0.6484, allocations: 2.182 MB / 1.473 GB, free: 9.445 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007003/0.6491, allocations: 39.89 kB / 1.473 GB, free: 9.406 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.193e-05/0.6491, allocations: 11.98 kB / 1.473 GB, free: 9.395 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.0005782/0.6497, allocations: 298.6 kB / 1.474 GB, free: 9.094 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.6499, allocations: 99.33 kB / 1.474 GB, free: 8.996 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004384/0.6543, allocations: 0.853 MB / 1.475 GB, free: 8.129 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.6543, allocations: 4 kB / 1.475 GB, free: 8.125 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6543, allocations: 0 / 1.475 GB, free: 8.125 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.6543, allocations: 4 kB / 1.475 GB, free: 8.121 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.6551, allocations: 0.5261 MB / 1.475 GB, free: 7.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6551, allocations: 0 / 1.475 GB, free: 7.551 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.6555, allocations: 59.89 kB / 1.475 GB, free: 7.492 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000945/0.6564, allocations: 180.7 kB / 1.475 GB, free: 7.312 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/0.6565, allocations: 20.03 kB / 1.475 GB, free: 7.293 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007905/0.6644, allocations: 2.173 MB / 1.478 GB, free: 5.004 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6644, allocations: 0 / 1.478 GB, free: 5.004 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.6683, allocations: 0.8109 MB / 1.478 GB, free: 4.168 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.6685, allocations: 83.3 kB / 1.478 GB, free: 4.086 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-05/0.6685, allocations: 11.94 kB / 1.478 GB, free: 4.074 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.6689, allocations: 31.97 kB / 1.478 GB, free: 4.043 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002018/0.6691, allocations: 23.95 kB / 1.479 GB, free: 4.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/0.6692, allocations: 19.98 kB / 1.479 GB, free: 4 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001459/0.6707, allocations: 1.034 MB / 1.48 GB, free: 2.969 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6707, allocations: 4 kB / 1.48 GB, free: 2.965 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0006374/0.6713, allocations: 119.8 kB / 1.48 GB, free: 2.848 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.006945/0.6782, allocations: 1.71 MB / 1.481 GB, free: 1.289 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001827/0.6801, allocations: 0.5637 MB / 1.482 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6801, allocations: 0 / 1.482 GB, free: 0.7148 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6813, allocations: 366.4 kB / 1.482 GB, free: 352 kB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008519/0.6821, allocations: 124.2 kB / 1.482 GB, free: 236 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.6972, allocations: 6.468 MB / 1.489 GB, free: 9.586 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.6976, allocations: 384.2 kB / 1.489 GB, free: 9.188 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003471/0.698, allocations: 82.91 kB / 1.489 GB, free: 9.109 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/0.6983, allocations: 259.3 kB / 1.489 GB, free: 8.855 MB / 1.186 GB Notification: Performance of SimCode: time 8.91e-07/0.6983, allocations: 3.938 kB / 1.489 GB, free: 8.852 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0592/0.7575, allocations: 19.72 MB / 1.509 GB, free: 5.312 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/14.19, allocations: 0 / 1.509 GB, free: 5.312 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.414507914014393]