Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 109.4 kB / 15.99 MB, free: 6.344 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.001564/0.001564, allocations: 196.2 kB / 16.91 MB, free: 6.176 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.442/1.442, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.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.355/2.355, allocations: 390.2 MB / 0.665 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.001329, allocations: 65.53 kB / 0.8127 GB, free: 33.26 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.339, allocations: 140.4 MB / 0.9498 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.991/1.33, allocations: 171.5 MB / 1.117 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005307/1.335, allocations: 2.291 MB / 1.119 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007742/1.336, allocations: 13.06 kB / 1.119 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00105/1.337, allocations: 196.2 kB / 1.12 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/1.341, allocations: 0.872 MB / 1.121 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003286/1.344, allocations: 0.7605 MB / 1.121 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00207/1.346, allocations: 0.9669 MB / 1.122 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006403/1.347, allocations: 323.6 kB / 1.123 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001018/1.348, allocations: 465.6 kB / 1.123 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005684/1.349, allocations: 334.8 kB / 1.123 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/1.349, allocations: 34.47 kB / 1.123 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/1.352, allocations: 1.029 MB / 1.124 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002915/1.352, allocations: 148.6 kB / 1.124 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004155/1.352, allocations: 238.8 kB / 1.125 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/1.354, allocations: 0.6394 MB / 1.125 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.354, allocations: 0 / 1.125 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.276e-06/1.354, allocations: 0 / 1.125 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.202e-05/1.354, allocations: 0 / 1.125 GB, free: 5.648 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.002043/1.356, allocations: 0.8039 MB / 1.126 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.503e-05/1.356, allocations: 9.625 kB / 1.126 GB, free: 21.1 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/1.357, allocations: 183.3 kB / 1.126 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007237/1.358, allocations: 371.3 kB / 1.127 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/1.358, allocations: 24.05 kB / 1.127 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/1.358, allocations: 30.78 kB / 1.127 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008317/1.359, allocations: 371.2 kB / 1.127 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/1.359, allocations: 1.031 kB / 1.127 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.886e-05/1.359, allocations: 13.69 kB / 1.127 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/1.359, allocations: 11.98 kB / 1.127 GB, free: 20.73 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/1.36, allocations: 266.2 kB / 1.127 GB, free: 20.72 MB / 0.8731 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.002881/1.363, allocations: 1.674 MB / 1.129 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/1.363, allocations: 209 kB / 1.129 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/1.364, allocations: 117 kB / 1.129 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.365, allocations: 0.8708 MB / 1.13 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/1.365, allocations: 40.5 kB / 1.13 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 2.534e-06/1.365, allocations: 0 / 1.13 GB, free: 18.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.001108/1.366, allocations: 353.4 kB / 1.131 GB, free: 18.49 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/1.366, allocations: 54.22 kB / 1.131 GB, free: 18.43 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/1.367, allocations: 420.1 kB / 1.131 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.029e-05/1.367, allocations: 34.7 kB / 1.131 GB, free: 18.28 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/1.367, allocations: 216.4 kB / 1.131 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/1.367, allocations: 82.81 kB / 1.131 GB, free: 18.12 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.612e-05/1.367, allocations: 53.25 kB / 1.131 GB, free: 18.1 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001726/1.368, allocations: 354.9 kB / 1.132 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/1.368, allocations: 77.03 kB / 1.132 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/1.368, allocations: 128.9 kB / 1.132 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/1.368, allocations: 205.9 kB / 1.132 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/1.368, allocations: 0 / 1.132 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005434/1.369, allocations: 281.1 kB / 1.132 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.369, allocations: 9.594 kB / 1.132 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/1.369, allocations: 1.438 kB / 1.132 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.369, allocations: 2.531 kB / 1.132 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/1.369, allocations: 57.31 kB / 1.132 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/1.369, allocations: 2.938 kB / 1.132 GB, free: 17.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/1.37, allocations: 38.31 kB / 1.132 GB, free: 17.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/1.37, allocations: 17.22 kB / 1.132 GB, free: 17.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001857/1.37, allocations: 163.5 kB / 1.133 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.621e-05/1.37, allocations: 43.47 kB / 1.133 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006037/1.371, allocations: 288.2 kB / 1.133 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.371, allocations: 2.156 kB / 1.133 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/1.371, allocations: 1.094 kB / 1.133 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.371, allocations: 1.094 kB / 1.133 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.372, allocations: 0.8084 MB / 1.134 GB, free: 17.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.372, allocations: 6.219 kB / 1.134 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/1.372, allocations: 53.97 kB / 1.134 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/1.372, allocations: 2.688 kB / 1.134 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/1.372, allocations: 4.469 kB / 1.134 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.372, allocations: 2.688 kB / 1.134 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.372, allocations: 1.469 kB / 1.134 GB, free: 17.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008173/1.373, allocations: 0.5098 MB / 1.134 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.373, allocations: 146.7 kB / 1.134 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/1.373, allocations: 9.266 kB / 1.134 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/1.374, allocations: 26.92 kB / 1.134 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/1.374, allocations: 21.7 kB / 1.134 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/1.374, allocations: 11.73 kB / 1.134 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003814/1.374, allocations: 301.3 kB / 1.135 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/1.374, allocations: 4 kB / 1.135 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005669/1.375, allocations: 122.6 kB / 1.135 GB, free: 16.64 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.0004754/1.375, allocations: 193.7 kB / 1.135 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005258/1.376, allocations: 218.8 kB / 1.135 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.376, allocations: 0 / 1.135 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/1.376, allocations: 115.3 kB / 1.135 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/1.377, allocations: 224.3 kB / 1.136 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/1.379, allocations: 1.056 MB / 1.137 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/1.379, allocations: 0.824 MB / 1.137 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.379, allocations: 39.22 kB / 1.137 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/1.379, allocations: 0 / 1.137 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Templates: time 0.01185/1.391, allocations: 6.594 MB / 1.144 GB, free: 14.56 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches