Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005384/0.005384, allocations: 100.8 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 195.1 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.959/2.959, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 64.11 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2802, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.7015/0.9818, allocations: 184.5 MB / 1.422 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.007805/0.9897, allocations: 5.544 MB / 1.427 GB, free: 6.258 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002931/0.99, allocations: 13.69 kB / 1.427 GB, free: 6.254 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.9912, allocations: 0.5749 MB / 1.428 GB, free: 5.816 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003561/0.9948, allocations: 1.831 MB / 1.429 GB, free: 4.457 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.9964, allocations: 0.6828 MB / 1.43 GB, free: 3.973 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002157/0.9986, allocations: 2.152 MB / 1.432 GB, free: 2.754 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008774/0.9995, allocations: 0.7182 MB / 1.433 GB, free: 2.312 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001461/1.001, allocations: 1.08 MB / 1.434 GB, free: 1.707 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009423/1.002, allocations: 0.8163 MB / 1.435 GB, free: 1.254 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/1.002, allocations: 93.22 kB / 1.435 GB, free: 1.25 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003111/1.005, allocations: 1.992 MB / 1.437 GB, free: 15.8 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004959/1.006, allocations: 474.7 kB / 1.437 GB, free: 15.34 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000664/1.006, allocations: 0.5871 MB / 1.438 GB, free: 14.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002809/1.009, allocations: 2.157 MB / 1.44 GB, free: 12.59 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/1.009, allocations: 0 / 1.44 GB, free: 12.59 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.132e-06/1.009, allocations: 0 / 1.44 GB, free: 12.59 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.072e-05/1.009, allocations: 0 / 1.44 GB, free: 12.59 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003963/1.013, allocations: 1.718 MB / 1.442 GB, free: 10.81 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.013, allocations: 12.03 kB / 1.442 GB, free: 10.8 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/1.013, allocations: 148.9 kB / 1.442 GB, free: 10.64 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006169/1.014, allocations: 171.2 kB / 1.442 GB, free: 10.48 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009961/1.015, allocations: 0.6427 MB / 1.443 GB, free: 9.793 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/1.015, allocations: 62 kB / 1.443 GB, free: 9.73 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/1.015, allocations: 84 kB / 1.443 GB, free: 9.648 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.017, allocations: 1.2 MB / 1.444 GB, free: 8.438 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.017, allocations: 0 / 1.444 GB, free: 8.438 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.651e-05/1.017, allocations: 39.92 kB / 1.444 GB, free: 8.398 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.565e-05/1.017, allocations: 49.98 kB / 1.444 GB, free: 8.348 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002492/1.02, allocations: 1.507 MB / 1.445 GB, free: 6.84 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005254/1.025, allocations: 3.557 MB / 1.449 GB, free: 3.043 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/1.027, allocations: 1.438 MB / 1.45 GB, free: 1.602 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/1.028, allocations: 0.698 MB / 1.451 GB, free: 0.8984 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.03, allocations: 0.9581 MB / 1.452 GB, free: 15.73 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.031, allocations: 0.6929 MB / 1.453 GB, free: 15.02 MB / 1.154 GB Notification: Performance of pre-optimization done (n=123): time 2.465e-06/1.031, allocations: 4 kB / 1.453 GB, free: 15.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=123): time 0.003201/1.034, allocations: 1.856 MB / 1.454 GB, free: 13.15 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/1.034, allocations: 90.11 kB / 1.454 GB, free: 13.05 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/1.035, allocations: 0.8369 MB / 1.455 GB, free: 12.2 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.428e-05/1.035, allocations: 49.7 kB / 1.455 GB, free: 12.15 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/1.035, allocations: 369.5 kB / 1.456 GB, free: 11.78 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000369/1.036, allocations: 428.3 kB / 1.456 GB, free: 11.36 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000346/1.036, allocations: 210.9 kB / 1.456 GB, free: 11.15 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001862/1.036, allocations: 357.9 kB / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008515/1.037, allocations: 0.5041 MB / 1.457 GB, free: 10.29 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009987/1.038, allocations: 0.651 MB / 1.458 GB, free: 9.609 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/1.04, allocations: 1.282 MB / 1.459 GB, free: 8.285 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.04, allocations: 0 / 1.459 GB, free: 8.285 MB / 1.154 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002421/1.043, allocations: 1.482 MB / 1.46 GB, free: 6.789 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/1.043, allocations: 41.69 kB / 1.46 GB, free: 6.742 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.043, allocations: 4 kB / 1.46 GB, free: 6.738 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.043, allocations: 12.22 kB / 1.46 GB, free: 6.727 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009606/1.044, allocations: 227.7 kB / 1.461 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.044, allocations: 8 kB / 1.461 GB, free: 6.496 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006894/1.044, allocations: 115.1 kB / 1.461 GB, free: 6.383 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/1.045, allocations: 44 kB / 1.461 GB, free: 6.34 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 (bouTem.nextEventScaled,bouTem.nextEvent,$PRE.bouTem.nextEvent,bouTem.last,bouTem.b,bouTem.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004791/1.045, allocations: 371.1 kB / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/1.045, allocations: 111.3 kB / 1.461 GB, free: 5.852 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002815/1.048, allocations: 1.586 MB / 1.463 GB, free: 4.254 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/1.048, allocations: 15.94 kB / 1.463 GB, free: 4.238 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.048, allocations: 0 / 1.463 GB, free: 4.238 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/1.048, allocations: 7.969 kB / 1.463 GB, free: 4.23 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005154/1.053, allocations: 3.306 MB / 1.466 GB, free: 0.7695 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.053, allocations: 8.938 kB / 1.466 GB, free: 0.7617 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/1.054, allocations: 203.7 kB / 1.466 GB, free: 0.5625 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/1.054, allocations: 8 kB / 1.466 GB, free: 0.5547 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.581e-05/1.054, allocations: 39.98 kB / 1.466 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.369e-05/1.054, allocations: 15.88 kB / 1.466 GB, free: 0.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/1.054, allocations: 11.62 kB / 1.466 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003725/1.058, allocations: 2.494 MB / 1.469 GB, free: 13.89 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004843/1.059, allocations: 328 kB / 1.469 GB, free: 13.55 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.059, allocations: 31.98 kB / 1.469 GB, free: 13.52 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006042/1.059, allocations: 31.94 kB / 1.469 GB, free: 13.49 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.06, allocations: 92.88 kB / 1.469 GB, free: 13.4 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.975e-05/1.06, allocations: 47.98 kB / 1.469 GB, free: 13.36 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.000792/1.06, allocations: 0.6005 MB / 1.47 GB, free: 12.76 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.2e-07/1.06, allocations: 0 / 1.47 GB, free: 12.76 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0008586/1.061, allocations: 363.6 kB / 1.47 GB, free: 12.4 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 2 (dooDis.mExcAB,dooDis.mExcBA) * Number of discrete variables: 6 ($whenCondition1,bouTem.a,bouTem.b,bouTem.last,bouTem.nextEvent,bouTem.nextEventScaled) * Number of discrete states: 6 (bouTem.nextEvent,bouTem.last,bouTem.nextEventScaled,bouTem.b,bouTem.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (122): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004452/1.066, allocations: 3.24 MB / 1.473 GB, free: 9.07 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002106/1.068, allocations: 1.358 MB / 1.475 GB, free: 7.703 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.068, allocations: 3.938 kB / 1.475 GB, free: 7.699 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.069, allocations: 0.7365 MB / 1.475 GB, free: 6.949 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.071, allocations: 447.7 kB / 1.476 GB, free: 6.523 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/1.085, allocations: 9.946 MB / 1.486 GB, free: 12.25 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/1.086, allocations: 1.105 MB / 1.487 GB, free: 11.12 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001123/1.087, allocations: 424.2 kB / 1.487 GB, free: 10.7 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006203/1.088, allocations: 367.3 kB / 1.487 GB, free: 10.34 MB / 1.186 GB Notification: Performance of SimCode: time 2.7e-07/1.088, allocations: 0 / 1.487 GB, free: 10.34 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05873/1.146, allocations: 27.67 MB / 1.514 GB, free: 15 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.715/10.86, allocations: 7.891 kB / 1.514 GB, free: 15 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.csv --start-time 0 --stop-time 28800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 600 Buildings_latest_Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.fmu > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches