Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001665/0.001665, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002117/0.002117, allocations: 216 kB / 22.25 MB, free: 4.855 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.295/3.295, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_latest_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.003274/0.003274, allocations: 78.61 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.4352, allocations: 181.9 MB / 1.363 GB, free: 14.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.004004/0.4392, allocations: 2.142 MB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.174/0.6132, allocations: 132.4 MB / 1.495 GB, free: 7.121 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.6135, allocations: 7.938 kB / 1.495 GB, free: 7.113 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.6147, allocations: 0.7717 MB / 1.495 GB, free: 6.34 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.6158, allocations: 0.5258 MB / 1.496 GB, free: 5.812 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.6169, allocations: 346.7 kB / 1.496 GB, free: 5.473 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001009/0.6179, allocations: 0.581 MB / 1.497 GB, free: 4.891 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.6181, allocations: 60.88 kB / 1.497 GB, free: 4.832 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001556/0.6197, allocations: 367.5 kB / 1.497 GB, free: 4.484 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000766/0.6205, allocations: 0.5114 MB / 1.498 GB, free: 3.973 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.6206, allocations: 24 kB / 1.498 GB, free: 3.949 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000756/0.6213, allocations: 295.5 kB / 1.498 GB, free: 3.66 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.6216, allocations: 203.6 kB / 1.498 GB, free: 3.461 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002663/0.6218, allocations: 198.4 kB / 1.498 GB, free: 3.266 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.6232, allocations: 0.7622 MB / 1.499 GB, free: 2.5 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6232, allocations: 0 / 1.499 GB, free: 2.5 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6232, allocations: 7.938 kB / 1.499 GB, free: 2.492 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.598e-05/0.6232, allocations: 4 kB / 1.499 GB, free: 2.488 MB / 1.186 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.002155/0.6253, allocations: 1.043 MB / 1.5 GB, free: 1.41 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.6254, allocations: 8.031 kB / 1.5 GB, free: 1.402 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.6255, allocations: 58.53 kB / 1.5 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001913/0.6274, allocations: 219.3 kB / 1.501 GB, free: 1.121 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007603/0.6282, allocations: 441.2 kB / 1.501 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.6282, allocations: 16.38 kB / 1.501 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.6282, allocations: 20 kB / 1.501 GB, free: 0.625 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.6293, allocations: 343.1 kB / 1.501 GB, free: 284 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.6293, allocations: 0 / 1.501 GB, free: 284 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.6293, allocations: 12 kB / 1.501 GB, free: 272 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.6293, allocations: 7.938 kB / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.6307, allocations: 356.7 kB / 1.502 GB, free: 15.91 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002703/0.6335, allocations: 1.057 MB / 1.503 GB, free: 14.8 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.6347, allocations: 402.9 kB / 1.503 GB, free: 14.39 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.6354, allocations: 197.6 kB / 1.503 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 4.314e-05/0.6354, allocations: 11.94 kB / 1.503 GB, free: 14.18 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008818/0.6363, allocations: 321.2 kB / 1.504 GB, free: 13.85 MB / 1.201 GB Notification: Performance of pre-optimization done (n=30): time 2.946e-06/0.6363, allocations: 4 kB / 1.504 GB, free: 13.85 MB / 1.201 GB Notification: Performance of matching and sorting (n=30): time 0.008819/0.6451, allocations: 1.175 MB / 1.505 GB, free: 12.66 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.6452, allocations: 81.11 kB / 1.505 GB, free: 12.57 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.6471, allocations: 1.384 MB / 1.506 GB, free: 11.18 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.6471, allocations: 41.7 kB / 1.506 GB, free: 11.13 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.6475, allocations: 372.5 kB / 1.507 GB, free: 10.76 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001353/0.6476, allocations: 107.1 kB / 1.507 GB, free: 10.65 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.6478, allocations: 65.67 kB / 1.507 GB, free: 10.58 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.6479, allocations: 321.9 kB / 1.507 GB, free: 10.26 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/0.6486, allocations: 187.7 kB / 1.507 GB, free: 10.08 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007695/0.6494, allocations: 293.2 kB / 1.508 GB, free: 9.758 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.6508, allocations: 413.6 kB / 1.508 GB, free: 9.34 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.6508, allocations: 0 / 1.508 GB, free: 9.34 MB / 1.201 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004098/0.6549, allocations: 0.7355 MB / 1.509 GB, free: 8.594 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.6549, allocations: 8 kB / 1.509 GB, free: 8.586 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6549, allocations: 0 / 1.509 GB, free: 8.586 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001113/0.6561, allocations: 176.7 kB / 1.509 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004111/0.6565, allocations: 59.89 kB / 1.509 GB, free: 8.352 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00793/0.6644, allocations: 2.184 MB / 1.511 GB, free: 6.055 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.665, allocations: 43.84 kB / 1.511 GB, free: 6.012 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.448e-05/0.6651, allocations: 16.05 kB / 1.511 GB, free: 5.996 MB / 1.201 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.0005037/0.6656, allocations: 303.5 kB / 1.511 GB, free: 5.691 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.6658, allocations: 91.38 kB / 1.511 GB, free: 5.602 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/0.6701, allocations: 0.8495 MB / 1.512 GB, free: 4.738 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.6701, allocations: 4 kB / 1.512 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.6701, allocations: 0 / 1.512 GB, free: 4.734 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.6702, allocations: 11.98 kB / 1.512 GB, free: 4.723 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008731/0.671, allocations: 0.5263 MB / 1.513 GB, free: 4.152 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.671, allocations: 0 / 1.513 GB, free: 4.152 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003631/0.6714, allocations: 59.91 kB / 1.513 GB, free: 4.094 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009859/0.6724, allocations: 176.6 kB / 1.513 GB, free: 3.918 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/0.6724, allocations: 11.98 kB / 1.513 GB, free: 3.906 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007773/0.6802, allocations: 2.173 MB / 1.515 GB, free: 1.617 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6802, allocations: 4.031 kB / 1.515 GB, free: 1.613 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004232/0.6844, allocations: 0.8056 MB / 1.516 GB, free: 0.7812 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.6847, allocations: 87.25 kB / 1.516 GB, free: 0.6953 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.6848, allocations: 15.88 kB / 1.516 GB, free: 0.6797 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004879/0.6853, allocations: 35.97 kB / 1.516 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.6854, allocations: 19.95 kB / 1.516 GB, free: 0.625 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.838e-05/0.6854, allocations: 19.98 kB / 1.516 GB, free: 0.6055 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001431/0.6869, allocations: 1.034 MB / 1.517 GB, free: 15.57 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6869, allocations: 0 / 1.517 GB, free: 15.57 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0006764/0.6875, allocations: 111.9 kB / 1.517 GB, free: 15.46 MB / 1.217 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 (37): * Single equations (assignments): 32 * 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.006309/0.6938, allocations: 1.708 MB / 1.519 GB, free: 13.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001974/0.6958, allocations: 0.5542 MB / 1.519 GB, free: 13.34 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6958, allocations: 0 / 1.519 GB, free: 13.34 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.6969, allocations: 370.7 kB / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.6977, allocations: 125.1 kB / 1.52 GB, free: 12.85 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.7141, allocations: 6.493 MB / 1.526 GB, free: 6.176 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.7146, allocations: 375.4 kB / 1.527 GB, free: 5.789 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0004422/0.7151, allocations: 90.86 kB / 1.527 GB, free: 5.703 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004736/0.7156, allocations: 271.3 kB / 1.527 GB, free: 5.438 MB / 1.217 GB Notification: Performance of SimCode: time 1.703e-06/0.7156, allocations: 4 kB / 1.527 GB, free: 5.434 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05885/0.7744, allocations: 19.52 MB / 1.546 GB, free: 2.094 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.1, allocations: 9.922 kB / 1.546 GB, free: 2.086 MB / 1.232 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --stepSize=0.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.382383424323052]