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.001159/0.001159, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001192/0.001192, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9057/0.9057, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.828/1.828, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.307e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002392/0.002405, allocations: 2.132 MB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.5725/0.5749, allocations: 132.4 MB / 1.131 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.5751, allocations: 6.5 kB / 1.131 GB, free: 0.6367 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008954/0.576, allocations: 0.7906 MB / 1.132 GB, free: 0.5469 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0007307/0.5767, allocations: 0.5314 MB / 1.132 GB, free: 428 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.5772, allocations: 344.7 kB / 1.133 GB, free: 248 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005809/0.5778, allocations: 0.5994 MB / 1.133 GB, free: 28 kB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000166/0.578, allocations: 47.41 kB / 1.133 GB, free: 8 kB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.579, allocations: 427.7 kB / 1.134 GB, free: 15.9 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.5795, allocations: 0.5063 MB / 1.134 GB, free: 15.83 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.574e-05/0.5796, allocations: 25 kB / 1.134 GB, free: 15.83 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.5801, allocations: 286.5 kB / 1.134 GB, free: 15.76 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.5802, allocations: 202.3 kB / 1.135 GB, free: 15.66 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001386/0.5804, allocations: 132.1 kB / 1.135 GB, free: 15.6 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008907/0.5813, allocations: 0.7555 MB / 1.135 GB, free: 15.32 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.5813, allocations: 1.078 kB / 1.135 GB, free: 15.32 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5813, allocations: 1.562 kB / 1.135 GB, free: 15.32 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.5813, allocations: 0 / 1.135 GB, free: 15.32 MB / 1.01 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.001297/0.5826, allocations: 1.037 MB / 1.137 GB, free: 14.57 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5826, allocations: 14.91 kB / 1.137 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.748e-05/0.5827, allocations: 57.44 kB / 1.137 GB, free: 14.52 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000985/0.5837, allocations: 225.6 kB / 1.137 GB, free: 14.46 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.5842, allocations: 431.5 kB / 1.137 GB, free: 14.15 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.5842, allocations: 17.41 kB / 1.137 GB, free: 14.14 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.5842, allocations: 22.78 kB / 1.137 GB, free: 14.13 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006597/0.5849, allocations: 334.3 kB / 1.138 GB, free: 14 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.5849, allocations: 7.938 kB / 1.138 GB, free: 14 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.5849, allocations: 8.844 kB / 1.138 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.5849, allocations: 9.438 kB / 1.138 GB, free: 13.99 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.5857, allocations: 355.6 kB / 1.138 GB, free: 13.9 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.5873, allocations: 1.053 MB / 1.139 GB, free: 13.27 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007304/0.588, allocations: 400.5 kB / 1.139 GB, free: 13.11 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.5884, allocations: 202.7 kB / 1.14 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.5884, allocations: 3.281 kB / 1.14 GB, free: 13.04 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.589, allocations: 329.8 kB / 1.14 GB, free: 12.89 MB / 1.01 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/0.589, allocations: 0 / 1.14 GB, free: 12.89 MB / 1.01 GB Notification: Performance of matching and sorting (n=30): time 0.004461/0.5935, allocations: 1.177 MB / 1.141 GB, free: 12.57 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/0.5935, allocations: 90.05 kB / 1.141 GB, free: 12.47 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.5947, allocations: 1.385 MB / 1.142 GB, free: 12.01 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.5947, allocations: 32.44 kB / 1.142 GB, free: 11.97 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.595, allocations: 372.1 kB / 1.143 GB, free: 11.68 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.183e-05/0.595, allocations: 104.8 kB / 1.143 GB, free: 11.6 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.5952, allocations: 70.22 kB / 1.143 GB, free: 11.56 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.671e-05/0.5953, allocations: 317.1 kB / 1.143 GB, free: 11.25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.5957, allocations: 181.6 kB / 1.143 GB, free: 11.2 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004228/0.5961, allocations: 291.4 kB / 1.144 GB, free: 11.02 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007675/0.5969, allocations: 412.5 kB / 1.144 GB, free: 10.85 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5969, allocations: 0 / 1.144 GB, free: 10.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002116/0.599, allocations: 0.7462 MB / 1.145 GB, free: 10.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.599, allocations: 12.52 kB / 1.145 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.599, allocations: 1.312 kB / 1.145 GB, free: 10.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/0.5996, allocations: 179.3 kB / 1.145 GB, free: 10.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.5998, allocations: 63.95 kB / 1.145 GB, free: 10.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004167/0.604, allocations: 2.18 MB / 1.147 GB, free: 9.105 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.6042, allocations: 40.52 kB / 1.147 GB, free: 9.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.6042, allocations: 14.72 kB / 1.147 GB, free: 9.09 MB / 1.01 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.0002795/0.6045, allocations: 306.1 kB / 1.148 GB, free: 8.922 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.18e-05/0.6046, allocations: 89.62 kB / 1.148 GB, free: 8.871 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.6069, allocations: 0.8504 MB / 1.148 GB, free: 8.602 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6069, allocations: 5.672 kB / 1.149 GB, free: 8.602 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6069, allocations: 0 / 1.149 GB, free: 8.602 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6069, allocations: 2.641 kB / 1.149 GB, free: 8.602 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004992/0.6074, allocations: 0.5088 MB / 1.149 GB, free: 8.316 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6074, allocations: 4.609 kB / 1.149 GB, free: 8.312 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001725/0.6076, allocations: 57.23 kB / 1.149 GB, free: 8.309 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005168/0.6081, allocations: 182.2 kB / 1.149 GB, free: 8.27 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.6081, allocations: 13.2 kB / 1.149 GB, free: 8.266 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/0.6123, allocations: 2.185 MB / 1.151 GB, free: 6.824 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.6123, allocations: 1.188 kB / 1.151 GB, free: 6.824 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.6144, allocations: 0.795 MB / 1.152 GB, free: 6.535 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.6145, allocations: 82.36 kB / 1.152 GB, free: 6.477 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.6146, allocations: 8.109 kB / 1.152 GB, free: 6.473 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.6148, allocations: 30.56 kB / 1.152 GB, free: 6.465 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.6148, allocations: 30.2 kB / 1.152 GB, free: 6.457 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-05/0.6149, allocations: 20.3 kB / 1.152 GB, free: 6.453 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009528/0.6158, allocations: 1.039 MB / 1.153 GB, free: 6.098 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.6158, allocations: 0 / 1.153 GB, free: 6.098 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003915/0.6162, allocations: 112.8 kB / 1.153 GB, free: 6.082 MB / 1.01 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.003237/0.6195, allocations: 1.707 MB / 1.155 GB, free: 5.145 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.6206, allocations: 0.5568 MB / 1.156 GB, free: 4.91 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6206, allocations: 0 / 1.156 GB, free: 4.91 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0005633/0.6211, allocations: 367.3 kB / 1.156 GB, free: 4.73 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.6216, allocations: 146 kB / 1.156 GB, free: 4.664 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009385/0.631, allocations: 6.49 MB / 1.162 GB, free: 1.816 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6313, allocations: 380.9 kB / 1.163 GB, free: 1.703 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.6316, allocations: 87.86 kB / 1.163 GB, free: 1.672 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.6319, allocations: 274.4 kB / 1.163 GB, free: 1.461 MB / 1.01 GB Notification: Performance of SimCode: time 7.41e-07/0.6319, allocations: 0 / 1.163 GB, free: 1.461 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0336/0.6655, allocations: 19.52 MB / 1.182 GB, free: 11.14 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/9.016, allocations: 8.5 kB / 1.182 GB, free: 11.13 MB / 1.026 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.92 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.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Comfort_Validation_FangerCBE.csv","/var/lib/jenkins/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: 13.303666270337999]