Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.009691/0.009691, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.717/1.717, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.753/2.753, allocations: 390.9 MB / 0.6663 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.869, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2318/1.101, allocations: 213.2 MB / 1.163 GB, free: 9.355 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02977/1.131, allocations: 20.5 MB / 1.183 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003482/1.134, allocations: 43.75 kB / 1.183 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004007/1.138, allocations: 1.089 MB / 1.184 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/1.151, allocations: 3.836 MB / 1.188 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005038/1.156, allocations: 1.401 MB / 1.19 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01223/1.168, allocations: 9.517 MB / 1.199 GB, free: 4.875 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003851/1.172, allocations: 1.94 MB / 1.201 GB, free: 2.883 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006001/1.178, allocations: 1.969 MB / 1.203 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005929/1.184, allocations: 2.454 MB / 1.205 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001015/1.185, allocations: 164 kB / 1.205 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/1.196, allocations: 3.924 MB / 1.209 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002754/1.198, allocations: 1.258 MB / 1.21 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.004379/1.203, allocations: 1.67 MB / 1.212 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.01229/1.215, allocations: 5.736 MB / 1.217 GB, free: 1.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.215, allocations: 4 kB / 1.217 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.226e-06/1.215, allocations: 0 / 1.217 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001685/1.215, allocations: 0 / 1.217 GB, free: 1.656 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01022/1.226, allocations: 3.458 MB / 1.221 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.226, allocations: 8.031 kB / 1.221 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/1.231, allocations: 0.8353 MB / 1.222 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005131/1.236, allocations: 1.883 MB / 1.224 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/1.237, allocations: 205.3 kB / 1.224 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006701/1.237, allocations: 268 kB / 1.224 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00632/1.244, allocations: 3.279 MB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.976e-05/1.244, allocations: 7.906 kB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/1.244, allocations: 116 kB / 1.227 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/1.244, allocations: 125.4 kB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008284/1.253, allocations: 4.627 MB / 1.232 GB, free: 2.676 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02048/1.273, allocations: 10.88 MB / 1.243 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007073/1.28, allocations: 4.869 MB / 1.247 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6362/1.917, allocations: 2.523 MB / 1.25 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/1.918, allocations: 0.8674 MB / 1.251 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/1.918, allocations: 77.77 kB / 1.251 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 9.658e-06/1.918, allocations: 0 / 1.251 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.01822/1.937, allocations: 6.036 MB / 1.257 GB, free: 278.3 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/1.937, allocations: 92.2 kB / 1.257 GB, free: 278.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/1.939, allocations: 1.229 MB / 1.258 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006147/1.94, allocations: 93.52 kB / 1.258 GB, free: 277.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006755/1.941, allocations: 0.8119 MB / 1.259 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001629/1.942, allocations: 1.331 MB / 1.26 GB, free: 276 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005807/1.943, allocations: 267.4 kB / 1.26 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.251e-05/1.943, allocations: 308.8 kB / 1.261 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003301/1.946, allocations: 1.606 MB / 1.262 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/1.949, allocations: 1.91 MB / 1.264 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006189/1.955, allocations: 3.84 MB / 1.268 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/1.955, allocations: 0 / 1.268 GB, free: 272.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007495/1.963, allocations: 4.202 MB / 1.272 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/1.963, allocations: 5.469 kB / 1.272 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.963, allocations: 3.781 kB / 1.272 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.341e-05/1.963, allocations: 17.47 kB / 1.272 GB, free: 270.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00302/1.966, allocations: 0.6816 MB / 1.273 GB, free: 270.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.045e-05/1.966, allocations: 20.91 kB / 1.273 GB, free: 270.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003391/1.97, allocations: 405.3 kB / 1.273 GB, free: 270.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002519/1.97, allocations: 113.2 kB / 1.273 GB, free: 270.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (430): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * 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.001538/1.971, allocations: 0.7276 MB / 1.274 GB, free: 269.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006069/1.972, allocations: 244.8 kB / 1.274 GB, free: 269.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007602/1.98, allocations: 4.643 MB / 1.279 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/1.98, allocations: 38.7 kB / 1.279 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/1.98, allocations: 3.969 kB / 1.279 GB, free: 267.3 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004888/1.985, allocations: 3.96 MB / 1.282 GB, free: 265.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01118/1.996, allocations: 8.285 MB / 1.291 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.996, allocations: 0 / 1.291 GB, free: 260.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002663/1.999, allocations: 0.6592 MB / 1.291 GB, free: 259.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004237/1.999, allocations: 144.2 kB / 1.291 GB, free: 259.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001924/1.999, allocations: 83.97 kB / 1.291 GB, free: 259.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/2.002, allocations: 4.522 MB / 1.296 GB, free: 254.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/2.002, allocations: 7.984 kB / 1.296 GB, free: 254.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008179/2.01, allocations: 6.818 MB / 1.303 GB, free: 247.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001572/2.012, allocations: 0.7588 MB / 1.303 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/2.012, allocations: 68 kB / 1.303 GB, free: 246.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/2.014, allocations: 220.2 kB / 1.304 GB, free: 246.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/2.015, allocations: 232.8 kB / 1.304 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/2.015, allocations: 108 kB / 1.304 GB, free: 246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001002/2.016, allocations: 0.8606 MB / 1.305 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/2.016, allocations: 0 / 1.305 GB, free: 245.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002644/2.018, allocations: 1.088 MB / 1.306 GB, free: 244.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006297/2.019, allocations: 342.9 kB / 1.306 GB, free: 243.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005225/2.024, allocations: 4.047 MB / 1.31 GB, free: 239.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/2.024, allocations: 0 / 1.31 GB, free: 239.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002813/2.027, allocations: 2.559 MB / 1.313 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004939/2.032, allocations: 1.016 MB / 1.314 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/2.043, allocations: 8.094 MB / 1.321 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001472/2.044, allocations: 1.939 MB / 1.323 GB, free: 226.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.004402/2.049, allocations: 1.227 MB / 1.325 GB, free: 225 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/2.05, allocations: 243.4 kB / 1.325 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/2.05, allocations: 3.938 kB / 1.325 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06238/2.112, allocations: 45.11 MB / 1.369 GB, free: 180.2 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches