Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001761/0.001762, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.37/1.37, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.798/2.798, allocations: 461.9 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.001341, allocations: 61.53 kB / 0.8984 GB, free: 37.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3507, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.1911/0.5418, allocations: 186.2 MB / 1.234 GB, free: 14 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01019/0.552, allocations: 6.155 MB / 1.24 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001544/0.5536, allocations: 31.81 kB / 1.24 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.5554, allocations: 453.7 kB / 1.24 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004905/0.5603, allocations: 1.774 MB / 1.242 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.5629, allocations: 0.8709 MB / 1.243 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004129/0.567, allocations: 3.407 MB / 1.246 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.5684, allocations: 0.6616 MB / 1.247 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.6559/1.224, allocations: 0.7438 MB / 1.248 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002558/1.227, allocations: 0.7955 MB / 1.248 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002425/1.227, allocations: 43.94 kB / 1.248 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/1.231, allocations: 1.839 MB / 1.25 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004992/1.232, allocations: 324.4 kB / 1.251 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009265/1.233, allocations: 0.5049 MB / 1.251 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003388/1.236, allocations: 1.973 MB / 1.253 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.236, allocations: 2.969 kB / 1.253 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.01e-07/1.236, allocations: 0 / 1.253 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.15e-05/1.236, allocations: 0 / 1.253 GB, free: 4.602 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002758/1.239, allocations: 1.371 MB / 1.254 GB, free: 19.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/1.239, allocations: 9.922 kB / 1.254 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/1.241, allocations: 322.2 kB / 1.255 GB, free: 19.84 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.242, allocations: 0.7411 MB / 1.255 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.665e-05/1.242, allocations: 47.5 kB / 1.255 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.757e-05/1.242, allocations: 74.03 kB / 1.255 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/1.244, allocations: 0.7917 MB / 1.256 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/1.244, allocations: 0.6094 kB / 1.256 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/1.244, allocations: 26.5 kB / 1.256 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.903e-05/1.244, allocations: 33.06 kB / 1.256 GB, free: 19.43 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001086/1.245, allocations: 0.6372 MB / 1.257 GB, free: 19.42 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.004107/1.249, allocations: 3.36 MB / 1.26 GB, free: 17.53 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008404/1.25, allocations: 0.501 MB / 1.261 GB, free: 17.5 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004315/1.25, allocations: 284.5 kB / 1.261 GB, free: 17.49 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006091/1.251, allocations: 0.6734 MB / 1.262 GB, free: 16.74 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/1.251, allocations: 38.12 kB / 1.262 GB, free: 16.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=51): time 2.214e-06/1.251, allocations: 2.938 kB / 1.262 GB, free: 16.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=51): time 0.001619/1.253, allocations: 0.7762 MB / 1.262 GB, free: 16.62 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.253, allocations: 58.34 kB / 1.262 GB, free: 16.55 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007167/1.254, allocations: 0.5911 MB / 1.263 GB, free: 16.43 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/1.254, allocations: 37.89 kB / 1.263 GB, free: 16.4 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/1.254, allocations: 389.6 kB / 1.263 GB, free: 16.23 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000163/1.254, allocations: 183.3 kB / 1.264 GB, free: 16.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001665/1.254, allocations: 89.36 kB / 1.264 GB, free: 16.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.254, allocations: 386 kB / 1.264 GB, free: 15.78 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/1.255, allocations: 207.8 kB / 1.264 GB, free: 15.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/1.255, allocations: 281.7 kB / 1.265 GB, free: 15.73 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008946/1.256, allocations: 0.5071 MB / 1.265 GB, free: 15.66 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.256, allocations: 4.594 kB / 1.265 GB, free: 15.66 MB / 1.014 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001236/1.257, allocations: 0.6259 MB / 1.266 GB, free: 15.58 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.257, allocations: 6.578 kB / 1.266 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/1.258, allocations: 2.297 kB / 1.266 GB, free: 15.58 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.258, allocations: 7.562 kB / 1.266 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/1.258, allocations: 129.8 kB / 1.266 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/1.258, allocations: 7.406 kB / 1.266 GB, free: 15.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008807/1.259, allocations: 82.2 kB / 1.266 GB, free: 15.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.355e-05/1.259, allocations: 20.8 kB / 1.266 GB, free: 15.54 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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.0004159/1.26, allocations: 258.4 kB / 1.266 GB, free: 15.43 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/1.26, allocations: 72.88 kB / 1.266 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001195/1.261, allocations: 0.5956 MB / 1.267 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.261, allocations: 11.94 kB / 1.267 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.261, allocations: 4.094 kB / 1.267 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009863/1.262, allocations: 0.8087 MB / 1.268 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002655/1.265, allocations: 1.55 MB / 1.269 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/1.265, allocations: 4.719 kB / 1.269 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007991/1.265, allocations: 151.3 kB / 1.269 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/1.265, allocations: 3.156 kB / 1.269 GB, free: 14.54 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/1.266, allocations: 18.73 kB / 1.269 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/1.266, allocations: 6.391 kB / 1.269 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.266, allocations: 2.406 kB / 1.269 GB, free: 14.53 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/1.267, allocations: 0.9487 MB / 1.27 GB, free: 14.31 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/1.268, allocations: 212.6 kB / 1.27 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/1.268, allocations: 13.67 kB / 1.27 GB, free: 14.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008037/1.269, allocations: 61.17 kB / 1.271 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.269, allocations: 33.88 kB / 1.271 GB, free: 14.16 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/1.269, allocations: 17.81 kB / 1.271 GB, free: 14.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008692/1.27, allocations: 428.1 kB / 1.271 GB, free: 14.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.1e-07/1.27, allocations: 1.203 kB / 1.271 GB, free: 14.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001353/1.271, allocations: 274.9 kB / 1.271 GB, free: 14.04 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * 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 (51): * Single equations (assignments): 51 * 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 Backend phase and start with SimCode phase: time 0.0006223/1.272, allocations: 214.5 kB / 1.271 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001234/1.273, allocations: 0.501 MB / 1.272 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.273, allocations: 1.719 kB / 1.272 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000507/1.274, allocations: 273.6 kB / 1.272 GB, free: 13.92 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/1.276, allocations: 472.9 kB / 1.273 GB, free: 13.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003674/1.28, allocations: 2.153 MB / 1.275 GB, free: 12.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000935/1.281, allocations: 1.025 MB / 1.276 GB, free: 11.98 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001119/1.282, allocations: 180.2 kB / 1.276 GB, free: 11.95 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/1.282, allocations: 59.23 kB / 1.276 GB, free: 11.95 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/1.282, allocations: 0 / 1.276 GB, free: 11.95 MB / 1.014 GB Notification: Performance of Templates: time 0.03112/1.313, allocations: 15.02 MB / 1.291 GB, free: 11.05 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches