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.001343/0.001343, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001669/0.001669, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.496/1.496, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.259/3.259, allocations: 0.49 GB / 0.7916 GB, free: 33.26 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.003245/0.003245, allocations: 66.45 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3315, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004001/0.3355, allocations: 2.245 MB / 1.323 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.516, allocations: 153.9 MB / 1.473 GB, free: 6.625 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00019/0.5162, allocations: 3.938 kB / 1.473 GB, free: 6.621 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5173, allocations: 0.7796 MB / 1.474 GB, free: 5.84 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0008506/0.5181, allocations: 0.5297 MB / 1.475 GB, free: 5.309 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008635/0.519, allocations: 330.8 kB / 1.475 GB, free: 4.984 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0006974/0.5197, allocations: 0.5888 MB / 1.475 GB, free: 4.391 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.5199, allocations: 68.62 kB / 1.475 GB, free: 4.328 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.5211, allocations: 380.1 kB / 1.476 GB, free: 3.969 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.5217, allocations: 0.5269 MB / 1.476 GB, free: 3.441 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.374e-05/0.5218, allocations: 24 kB / 1.476 GB, free: 3.418 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006179/0.5224, allocations: 311.5 kB / 1.477 GB, free: 3.113 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001875/0.5226, allocations: 187.6 kB / 1.477 GB, free: 2.93 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002396/0.5228, allocations: 273.9 kB / 1.477 GB, free: 2.66 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001/0.5238, allocations: 0.7505 MB / 1.478 GB, free: 1.906 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/0.5238, allocations: 4 kB / 1.478 GB, free: 1.902 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5238, allocations: 4 kB / 1.478 GB, free: 1.898 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.5238, allocations: 0 / 1.478 GB, free: 1.898 MB / 1.17 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.001798/0.5256, allocations: 1.126 MB / 1.479 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5257, allocations: 11.98 kB / 1.479 GB, free: 0.707 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.39e-05/0.5258, allocations: 50.55 kB / 1.479 GB, free: 0.6484 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.5275, allocations: 219.2 kB / 1.479 GB, free: 444 kB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.5282, allocations: 0.4958 MB / 1.48 GB, free: 15.89 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.5282, allocations: 20.36 kB / 1.48 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.5283, allocations: 16 kB / 1.48 GB, free: 15.86 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009682/0.5292, allocations: 331 kB / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.5293, allocations: 3.938 kB / 1.48 GB, free: 15.52 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.5293, allocations: 8 kB / 1.48 GB, free: 15.51 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.5293, allocations: 4 kB / 1.48 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.5306, allocations: 336.7 kB / 1.48 GB, free: 15.18 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.5329, allocations: 1.128 MB / 1.481 GB, free: 13.99 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.5341, allocations: 374.6 kB / 1.482 GB, free: 13.61 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007005/0.5348, allocations: 197.5 kB / 1.482 GB, free: 13.41 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.842e-05/0.5348, allocations: 7.859 kB / 1.482 GB, free: 13.4 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009038/0.5357, allocations: 308.8 kB / 1.482 GB, free: 13.08 MB / 1.186 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.5357, allocations: 0 / 1.482 GB, free: 13.08 MB / 1.186 GB Notification: Performance of matching and sorting (n=30): time 0.00935/0.5451, allocations: 1.22 MB / 1.484 GB, free: 11.83 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.5451, allocations: 81.11 kB / 1.484 GB, free: 11.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001606/0.5467, allocations: 1.361 MB / 1.485 GB, free: 10.36 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.5468, allocations: 33.7 kB / 1.485 GB, free: 10.32 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.5471, allocations: 380.5 kB / 1.485 GB, free: 9.949 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.5473, allocations: 99.16 kB / 1.485 GB, free: 9.852 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.5474, allocations: 73.61 kB / 1.486 GB, free: 9.773 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5476, allocations: 317.9 kB / 1.486 GB, free: 9.457 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007049/0.5483, allocations: 179.7 kB / 1.486 GB, free: 9.281 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.5491, allocations: 229.8 kB / 1.486 GB, free: 9.035 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.5505, allocations: 393.8 kB / 1.487 GB, free: 8.637 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.5505, allocations: 0 / 1.487 GB, free: 8.637 MB / 1.186 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0043/0.5548, allocations: 0.7203 MB / 1.487 GB, free: 7.906 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5548, allocations: 4 kB / 1.487 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5548, allocations: 0 / 1.487 GB, free: 7.902 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.5559, allocations: 188.7 kB / 1.487 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/0.5563, allocations: 63.91 kB / 1.488 GB, free: 7.652 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008535/0.5649, allocations: 2.295 MB / 1.49 GB, free: 5.215 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/0.5654, allocations: 43.86 kB / 1.49 GB, free: 5.172 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.555e-05/0.5655, allocations: 19.98 kB / 1.49 GB, free: 5.152 MB / 1.186 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.0004371/0.5659, allocations: 292.6 kB / 1.49 GB, free: 4.859 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.5661, allocations: 95.31 kB / 1.49 GB, free: 4.766 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004382/0.5705, allocations: 0.7466 MB / 1.491 GB, free: 4.008 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.5705, allocations: 8 kB / 1.491 GB, free: 4 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.5705, allocations: 3.938 kB / 1.491 GB, free: 3.996 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5705, allocations: 7.984 kB / 1.491 GB, free: 3.988 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000761/0.5712, allocations: 0.5781 MB / 1.492 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5712, allocations: 0 / 1.492 GB, free: 3.359 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/0.5716, allocations: 43.97 kB / 1.492 GB, free: 3.316 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001047/0.5726, allocations: 172.7 kB / 1.492 GB, free: 3.145 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.697e-05/0.5726, allocations: 15.97 kB / 1.492 GB, free: 3.129 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008218/0.5809, allocations: 2.307 MB / 1.494 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.5809, allocations: 4 kB / 1.494 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.5852, allocations: 0.7635 MB / 1.495 GB, free: 15.89 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.5854, allocations: 156.4 kB / 1.495 GB, free: 15.72 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.341e-05/0.5855, allocations: 8 kB / 1.495 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/0.5859, allocations: 27.97 kB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.826e-05/0.586, allocations: 23.97 kB / 1.495 GB, free: 15.66 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.586, allocations: 19.98 kB / 1.495 GB, free: 15.64 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001198/0.5872, allocations: 1.011 MB / 1.496 GB, free: 14.63 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5872, allocations: 0 / 1.496 GB, free: 14.63 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.000573/0.5878, allocations: 119.8 kB / 1.496 GB, free: 14.52 MB / 1.201 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.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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.006332/0.5941, allocations: 1.65 MB / 1.498 GB, free: 12.99 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002049/0.5962, allocations: 0.5415 MB / 1.498 GB, free: 12.44 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5962, allocations: 0 / 1.498 GB, free: 12.44 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.5973, allocations: 338.5 kB / 1.499 GB, free: 12.09 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.5981, allocations: 122 kB / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0164/0.6145, allocations: 6.392 MB / 1.505 GB, free: 5.422 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/0.6152, allocations: 0.98 MB / 1.506 GB, free: 4.414 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.6156, allocations: 95.09 kB / 1.506 GB, free: 4.32 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/0.616, allocations: 271.3 kB / 1.506 GB, free: 4.055 MB / 1.201 GB Notification: Performance of SimCode: time 1.072e-06/0.616, allocations: 0 / 1.506 GB, free: 4.055 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/0.6709, allocations: 18.2 MB / 1.524 GB, free: 2.02 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.52, allocations: 5.688 kB / 1.524 GB, free: 2.016 MB / 1.217 GB " [Timeout remaining time 285] (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.485134474001825]