Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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_latest_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_latest_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.001284/0.001284, allocations: 106 kB / 16.35 MB, free: 5.824 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.001177/0.001177, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.448/2.448, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 68.94 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3087, allocations: 153 MB / 1.027 GB, free: 2.016 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.7959/1.105, allocations: 218.5 MB / 1.24 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02665/1.131, allocations: 20.43 MB / 1.26 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003282/1.135, allocations: 55.75 kB / 1.26 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003719/1.138, allocations: 1.251 MB / 1.261 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/1.15, allocations: 4.079 MB / 1.265 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004508/1.155, allocations: 1.539 MB / 1.267 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008758/1.164, allocations: 6.967 MB / 1.274 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003638/1.167, allocations: 2.349 MB / 1.276 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/1.172, allocations: 2.368 MB / 1.278 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005104/1.177, allocations: 2.451 MB / 1.281 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00121/1.178, allocations: 344 kB / 1.281 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007818/1.186, allocations: 3.461 MB / 1.284 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002295/1.189, allocations: 1.461 MB / 1.286 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004137/1.193, allocations: 1.863 MB / 1.288 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0104/1.203, allocations: 5.765 MB / 1.293 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.203, allocations: 8 kB / 1.293 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.203, allocations: 0 / 1.293 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001677/1.203, allocations: 0 / 1.293 GB, free: 12.21 MB / 0.9981 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.01229/1.216, allocations: 3.941 MB / 1.297 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.216, allocations: 8.031 kB / 1.297 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/1.222, allocations: 0.8322 MB / 1.298 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005354/1.227, allocations: 1.934 MB / 1.3 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/1.227, allocations: 201.4 kB / 1.3 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009659/1.228, allocations: 264 kB / 1.3 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008052/1.236, allocations: 3.287 MB / 1.303 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001059/1.236, allocations: 3.906 kB / 1.303 GB, free: 1.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006341/1.237, allocations: 123.9 kB / 1.304 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001421/1.237, allocations: 121.4 kB / 1.304 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008525/1.246, allocations: 4.623 MB / 1.308 GB, free: 12.7 MB / 1.014 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.02084/1.267, allocations: 10.92 MB / 1.319 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007227/1.274, allocations: 4.854 MB / 1.324 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/1.278, allocations: 2.524 MB / 1.326 GB, free: 9.672 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001299/1.28, allocations: 0.8643 MB / 1.327 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001318/1.28, allocations: 81.7 kB / 1.327 GB, free: 8.555 MB / 1.029 GB Notification: Performance of pre-optimization done (n=399): time 8.225e-06/1.28, allocations: 0 / 1.327 GB, free: 8.555 MB / 1.029 GB Notification: Performance of matching and sorting (n=399): time 0.01233/1.292, allocations: 6.019 MB / 1.333 GB, free: 2.449 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/1.292, allocations: 98.53 kB / 1.333 GB, free: 2.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/1.294, allocations: 1.228 MB / 1.334 GB, free: 1.105 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004486/1.295, allocations: 93.7 kB / 1.334 GB, free: 1.008 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/1.296, allocations: 0.8135 MB / 1.335 GB, free: 188 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.297, allocations: 1.328 MB / 1.336 GB, free: 14.83 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/1.298, allocations: 0.543 MB / 1.337 GB, free: 14.28 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.299, allocations: 305.1 kB / 1.337 GB, free: 13.98 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/1.301, allocations: 1.599 MB / 1.339 GB, free: 12.38 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003137/1.304, allocations: 1.913 MB / 1.341 GB, free: 10.42 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005957/1.31, allocations: 3.831 MB / 1.344 GB, free: 6.531 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/1.31, allocations: 4 kB / 1.344 GB, free: 6.527 MB / 1.045 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007181/1.318, allocations: 4.195 MB / 1.348 GB, free: 2.309 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/1.318, allocations: 7.938 kB / 1.348 GB, free: 2.301 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/1.318, allocations: 4 kB / 1.348 GB, free: 2.297 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.616e-05/1.318, allocations: 16 kB / 1.348 GB, free: 2.281 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.321, allocations: 0.6831 MB / 1.349 GB, free: 1.598 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-05/1.321, allocations: 19.94 kB / 1.349 GB, free: 1.578 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/1.323, allocations: 241.3 kB / 1.349 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/1.324, allocations: 116 kB / 1.349 GB, free: 1.227 MB / 1.045 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.001501/1.325, allocations: 0.7273 MB / 1.35 GB, free: 500 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007727/1.326, allocations: 241.1 kB / 1.35 GB, free: 256 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008201/1.334, allocations: 4.632 MB / 1.355 GB, free: 11.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.162e-05/1.334, allocations: 43.94 kB / 1.355 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.139e-05/1.334, allocations: 3.938 kB / 1.355 GB, free: 11.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006124/1.34, allocations: 3.973 MB / 1.359 GB, free: 7.492 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.355, allocations: 8.265 MB / 1.367 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/1.355, allocations: 0 / 1.367 GB, free: 15.14 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/1.358, allocations: 0.6632 MB / 1.368 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005141/1.359, allocations: 138.4 kB / 1.368 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/1.359, allocations: 83.92 kB / 1.368 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/1.363, allocations: 5.039 MB / 1.373 GB, free: 8.793 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/1.363, allocations: 4.094 kB / 1.373 GB, free: 8.789 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/1.375, allocations: 6.823 MB / 1.379 GB, free: 1.91 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/1.377, allocations: 0.7666 MB / 1.38 GB, free: 1.121 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000658/1.377, allocations: 71.98 kB / 1.38 GB, free: 1.051 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/1.38, allocations: 86.36 kB / 1.38 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005366/1.38, allocations: 222.9 kB / 1.38 GB, free: 0.7539 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003374/1.381, allocations: 115.9 kB / 1.381 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001511/1.382, allocations: 0.8606 MB / 1.381 GB, free: 15.78 MB / 1.092 GB Notification: Performance of sort global known variables: time 2e-07/1.382, allocations: 0 / 1.381 GB, free: 15.78 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00287/1.385, allocations: 1.073 MB / 1.382 GB, free: 14.7 MB / 1.092 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.0008072/1.386, allocations: 351 kB / 1.383 GB, free: 14.35 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006919/1.393, allocations: 4.055 MB / 1.387 GB, free: 10.29 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 9.098e-06/1.393, allocations: 4 kB / 1.387 GB, free: 10.28 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003945/1.397, allocations: 2.551 MB / 1.389 GB, free: 7.691 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005329/1.402, allocations: 1.071 MB / 1.39 GB, free: 6.633 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/1.414, allocations: 6.587 MB / 1.397 GB, free: 0 / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/1.416, allocations: 1.946 MB / 1.399 GB, free: 14.01 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004701/1.421, allocations: 1.219 MB / 1.4 GB, free: 12.79 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.422, allocations: 239.4 kB / 1.4 GB, free: 12.55 MB / 1.107 GB Notification: Performance of SimCode: time 1.292e-06/1.422, allocations: 4 kB / 1.4 GB, free: 12.55 MB / 1.107 GB Notification: Performance of Templates: time 0.07534/1.497, allocations: 47.59 MB / 1.447 GB, free: 13.46 MB / 1.154 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches