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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000963/0.0009632, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001536, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.472/1.472, allocations: 223.3 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.537/2.537, allocations: 390.9 MB / 0.667 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9099/0.9103, allocations: 142.4 MB / 0.9557 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2595/1.17, allocations: 213.2 MB / 1.164 GB, free: 9.34 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03188/1.202, allocations: 20.5 MB / 1.184 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00503/1.207, allocations: 47.69 kB / 1.184 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005253/1.212, allocations: 1.089 MB / 1.185 GB, free: 3.648 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01439/1.227, allocations: 3.844 MB / 1.189 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00514/1.232, allocations: 1.387 MB / 1.19 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.01275/1.245, allocations: 9.52 MB / 1.199 GB, free: 4.863 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004395/1.249, allocations: 1.936 MB / 1.201 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005791/1.255, allocations: 1.965 MB / 1.203 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006739/1.262, allocations: 2.473 MB / 1.206 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001357/1.263, allocations: 160 kB / 1.206 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01036/1.273, allocations: 3.924 MB / 1.21 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002676/1.276, allocations: 1.254 MB / 1.211 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00504/1.281, allocations: 1.674 MB / 1.213 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.008254/1.289, allocations: 4.205 MB / 1.217 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/1.289, allocations: 0 / 1.217 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.155e-06/1.289, allocations: 0 / 1.217 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0002217/1.29, allocations: 4 kB / 1.217 GB, free: 3.176 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.01159/1.301, allocations: 3.45 MB / 1.22 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.301, allocations: 15.97 kB / 1.22 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005774/1.307, allocations: 0.8353 MB / 1.221 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005532/1.313, allocations: 1.883 MB / 1.223 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/1.313, allocations: 201.4 kB / 1.223 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001182/1.314, allocations: 268 kB / 1.223 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009384/1.324, allocations: 3.283 MB / 1.226 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001241/1.324, allocations: 7.906 kB / 1.226 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007231/1.325, allocations: 108 kB / 1.226 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/1.325, allocations: 133.4 kB / 1.227 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009338/1.334, allocations: 4.627 MB / 1.231 GB, free: 4.195 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.02142/1.356, allocations: 10.88 MB / 1.242 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007833/1.363, allocations: 4.862 MB / 1.246 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004547/1.368, allocations: 2.531 MB / 1.249 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/1.369, allocations: 0.8681 MB / 1.25 GB, free: 164 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.499e-05/1.369, allocations: 73.7 kB / 1.25 GB, free: 80 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=399): time 5.15e-06/1.369, allocations: 0 / 1.25 GB, free: 80 kB / 0.9981 GB Notification: Performance of matching and sorting (n=399): time 0.7108/2.08, allocations: 6.032 MB / 1.256 GB, free: 281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.093e-05/2.08, allocations: 92.48 kB / 1.256 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/2.083, allocations: 1.233 MB / 1.257 GB, free: 280.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003173/2.083, allocations: 96.67 kB / 1.257 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006438/2.084, allocations: 0.8089 MB / 1.258 GB, free: 279.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/2.085, allocations: 1.332 MB / 1.259 GB, free: 278.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004124/2.085, allocations: 271.4 kB / 1.259 GB, free: 278.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.016e-05/2.085, allocations: 308.9 kB / 1.26 GB, free: 278.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/2.089, allocations: 1.601 MB / 1.261 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/2.091, allocations: 1.914 MB / 1.263 GB, free: 277.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005578/2.097, allocations: 3.833 MB / 1.267 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/2.097, allocations: 3.156 kB / 1.267 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006669/2.104, allocations: 4.204 MB / 1.271 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/2.104, allocations: 5.469 kB / 1.271 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/2.104, allocations: 8.156 kB / 1.271 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/2.104, allocations: 17.25 kB / 1.271 GB, free: 273.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/2.107, allocations: 0.6784 MB / 1.272 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.41e-05/2.107, allocations: 19.8 kB / 1.272 GB, free: 273.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/2.11, allocations: 409.1 kB / 1.272 GB, free: 273.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002324/2.11, allocations: 112.4 kB / 1.272 GB, free: 273.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.001484/2.112, allocations: 0.7299 MB / 1.273 GB, free: 272.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/2.112, allocations: 235.8 kB / 1.273 GB, free: 272.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00704/2.119, allocations: 4.644 MB / 1.278 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/2.119, allocations: 40.31 kB / 1.278 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/2.119, allocations: 3.938 kB / 1.278 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00474/2.124, allocations: 3.96 MB / 1.282 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/2.135, allocations: 8.276 MB / 1.29 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/2.135, allocations: 0 / 1.29 GB, free: 262.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00257/2.137, allocations: 0.6652 MB / 1.29 GB, free: 261.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004249/2.138, allocations: 139.6 kB / 1.291 GB, free: 261.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/2.138, allocations: 83.91 kB / 1.291 GB, free: 261.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/2.141, allocations: 4.527 MB / 1.295 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/2.141, allocations: 2.344 kB / 1.295 GB, free: 256.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008048/2.149, allocations: 6.822 MB / 1.302 GB, free: 249.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/2.15, allocations: 0.7627 MB / 1.302 GB, free: 249 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/2.15, allocations: 64 kB / 1.302 GB, free: 249 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/2.153, allocations: 227.6 kB / 1.303 GB, free: 248.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003742/2.153, allocations: 233.9 kB / 1.303 GB, free: 248.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/2.153, allocations: 112 kB / 1.303 GB, free: 248.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001/2.154, allocations: 0.8567 MB / 1.304 GB, free: 247.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/2.154, allocations: 0 / 1.304 GB, free: 247.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002551/2.157, allocations: 1.083 MB / 1.305 GB, free: 246.5 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.0007402/2.157, allocations: 338.3 kB / 1.305 GB, free: 246.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005439/2.163, allocations: 4.047 MB / 1.309 GB, free: 242.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.163, allocations: 4 kB / 1.309 GB, free: 242.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003071/2.166, allocations: 2.555 MB / 1.312 GB, free: 239.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/2.171, allocations: 1.026 MB / 1.313 GB, free: 238.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/2.182, allocations: 8.23 MB / 1.321 GB, free: 230.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/2.183, allocations: 1.942 MB / 1.323 GB, free: 228.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/2.185, allocations: 287.4 kB / 1.323 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of SimCode: time 2.504e-06/2.185, allocations: 0 / 1.323 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06817/2.254, allocations: 57.64 MB / 1.379 GB, free: 170.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches