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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001697, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.615/1.615, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 496.2 MB / 0.7819 GB, free: 12.2 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") translateModel(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48,variableFilter="time|doo.vAB|doo.vBA|dooDis.vAB|dooDis.vBA|bouA.T|bouB.T_in|doo.port_a1.p|doo.port_a2.p",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.873/0.875, allocations: 173.6 MB / 1.305 GB, free: 33.43 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Validation.OpenDoorTemperature): time 0.2311/1.106, allocations: 185.5 MB / 1.487 GB, free: 10.15 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.009696/1.116, allocations: 5.589 MB / 1.492 GB, free: 5.645 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009621/1.117, allocations: 18.69 kB / 1.492 GB, free: 5.637 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/1.119, allocations: 0.6021 MB / 1.493 GB, free: 5.184 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005363/1.124, allocations: 1.892 MB / 1.494 GB, free: 3.785 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002189/1.126, allocations: 0.6768 MB / 1.495 GB, free: 3.305 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002838/1.129, allocations: 2.158 MB / 1.497 GB, free: 2.074 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/1.13, allocations: 0.5805 MB / 1.498 GB, free: 1.672 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/1.133, allocations: 1.109 MB / 1.499 GB, free: 1.051 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/1.134, allocations: 0.8658 MB / 1.5 GB, free: 0.5625 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004334/1.135, allocations: 93.16 kB / 1.5 GB, free: 0.5586 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004573/1.139, allocations: 2.081 MB / 1.502 GB, free: 15.29 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0007322/1.14, allocations: 462.7 kB / 1.502 GB, free: 14.84 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.001272/1.141, allocations: 0.5793 MB / 1.503 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004572/1.146, allocations: 2.141 MB / 1.505 GB, free: 12.11 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.146, allocations: 4 kB / 1.505 GB, free: 12.1 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.643e-06/1.146, allocations: 0 / 1.505 GB, free: 12.1 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.069e-05/1.146, allocations: 0 / 1.505 GB, free: 12.1 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004806/1.151, allocations: 1.671 MB / 1.507 GB, free: 10.37 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/1.151, allocations: 15.97 kB / 1.507 GB, free: 10.36 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/1.152, allocations: 159.2 kB / 1.507 GB, free: 10.2 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/1.153, allocations: 0.6094 MB / 1.507 GB, free: 9.551 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/1.153, allocations: 69.98 kB / 1.507 GB, free: 9.48 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/1.153, allocations: 84 kB / 1.507 GB, free: 9.398 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/1.155, allocations: 1.27 MB / 1.509 GB, free: 8.117 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/1.155, allocations: 3.938 kB / 1.509 GB, free: 8.113 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.562e-05/1.155, allocations: 36 kB / 1.509 GB, free: 8.078 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-05/1.155, allocations: 65.97 kB / 1.509 GB, free: 8.012 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/1.158, allocations: 1.647 MB / 1.51 GB, free: 6.367 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/1.164, allocations: 3.708 MB / 1.514 GB, free: 2.422 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/1.166, allocations: 1.34 MB / 1.515 GB, free: 1.074 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009877/1.167, allocations: 0.6239 MB / 1.516 GB, free: 456 kB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/1.169, allocations: 0.9542 MB / 1.517 GB, free: 15.29 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/1.17, allocations: 0.7123 MB / 1.518 GB, free: 14.56 MB / 1.201 GB Notification: Performance of pre-optimization done (n=123): time 3.386e-06/1.17, allocations: 0 / 1.518 GB, free: 14.56 MB / 1.201 GB Notification: Performance of matching and sorting (n=123): time 0.003386/1.173, allocations: 1.848 MB / 1.519 GB, free: 12.7 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.731e-05/1.173, allocations: 90.11 kB / 1.519 GB, free: 12.59 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.175, allocations: 0.8524 MB / 1.52 GB, free: 11.73 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/1.175, allocations: 45.7 kB / 1.52 GB, free: 11.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004019/1.175, allocations: 421.1 kB / 1.521 GB, free: 11.26 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/1.176, allocations: 436.2 kB / 1.521 GB, free: 10.83 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004492/1.176, allocations: 238.9 kB / 1.521 GB, free: 10.59 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002531/1.176, allocations: 414.7 kB / 1.522 GB, free: 10.18 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009579/1.177, allocations: 0.5569 MB / 1.522 GB, free: 9.621 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/1.178, allocations: 0.7018 MB / 1.523 GB, free: 8.891 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/1.18, allocations: 1.348 MB / 1.524 GB, free: 7.504 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/1.18, allocations: 4 kB / 1.524 GB, free: 7.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.002795/1.183, allocations: 1.607 MB / 1.526 GB, free: 5.879 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.634e-05/1.183, allocations: 45.62 kB / 1.526 GB, free: 5.828 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/1.183, allocations: 4.281 kB / 1.526 GB, free: 5.824 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/1.183, allocations: 12 kB / 1.526 GB, free: 5.812 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/1.185, allocations: 255.7 kB / 1.526 GB, free: 5.562 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.128e-05/1.185, allocations: 11.98 kB / 1.526 GB, free: 5.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/1.186, allocations: 134.9 kB / 1.526 GB, free: 5.418 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.186, allocations: 51.98 kB / 1.526 GB, free: 5.367 MB / 1.201 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 (159): * Single equations (assignments): 158 * 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.0007198/1.186, allocations: 371.1 kB / 1.527 GB, free: 4.988 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000268/1.187, allocations: 111.3 kB / 1.527 GB, free: 4.879 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/1.19, allocations: 1.589 MB / 1.528 GB, free: 3.273 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.348e-05/1.19, allocations: 12 kB / 1.528 GB, free: 3.262 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/1.19, allocations: 4 kB / 1.528 GB, free: 3.258 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/1.19, allocations: 7.922 kB / 1.528 GB, free: 3.25 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005879/1.196, allocations: 3.306 MB / 1.532 GB, free: 15.78 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.196, allocations: 8 kB / 1.532 GB, free: 15.77 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008343/1.196, allocations: 203.7 kB / 1.532 GB, free: 15.57 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.055e-05/1.196, allocations: 15.94 kB / 1.532 GB, free: 15.55 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/1.197, allocations: 32.05 kB / 1.532 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.186e-05/1.197, allocations: 19.92 kB / 1.532 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/1.197, allocations: 11.92 kB / 1.532 GB, free: 15.49 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003709/1.2, allocations: 2.494 MB / 1.534 GB, free: 12.91 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006585/1.201, allocations: 328 kB / 1.535 GB, free: 12.57 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002276/1.201, allocations: 32 kB / 1.535 GB, free: 12.54 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/1.202, allocations: 31.92 kB / 1.535 GB, free: 12.5 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.202, allocations: 92.78 kB / 1.535 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.202, allocations: 43.98 kB / 1.535 GB, free: 12.37 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008647/1.203, allocations: 0.5966 MB / 1.535 GB, free: 11.77 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/1.203, allocations: 0 / 1.535 GB, free: 11.77 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001074/1.204, allocations: 391.6 kB / 1.536 GB, free: 11.39 MB / 1.217 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.0006869/1.205, allocations: 277.7 kB / 1.536 GB, free: 11.12 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002368/1.207, allocations: 1.342 MB / 1.537 GB, free: 9.77 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.207, allocations: 0 / 1.537 GB, free: 9.77 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/1.208, allocations: 0.6738 MB / 1.538 GB, free: 9.082 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.21, allocations: 453.1 kB / 1.538 GB, free: 8.641 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/1.214, allocations: 2.356 MB / 1.541 GB, free: 6.184 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009009/1.215, allocations: 1.105 MB / 1.542 GB, free: 5.047 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001398/1.217, allocations: 472.4 kB / 1.542 GB, free: 4.582 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003322/1.217, allocations: 91.42 kB / 1.542 GB, free: 4.492 MB / 1.217 GB Notification: Performance of SimCode: time 1.262e-06/1.217, allocations: 0 / 1.542 GB, free: 4.492 MB / 1.217 GB Notification: Performance of Templates: time 0.03562/1.253, allocations: 19.64 MB / 1.562 GB, free: 1.047 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Validation_OpenDoorTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Validation.OpenDoorTemperature.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: 10.129688227549195]