Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009507/0.0009507, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008232/0.0008232, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9446/0.9446, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.757/1.757, allocations: 377.8 MB / 0.6228 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.953e-06/1.953e-06, allocations: 0 / 0.9822 GB, free: 1 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.483e-05/3.678e-05, allocations: 6.219 kB / 0.9822 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.8079/0.808, allocations: 153.4 MB / 1.132 GB, free: 11.41 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.003458/0.8114, allocations: 2.164 MB / 1.134 GB, free: 9.871 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.8118, allocations: 21.47 kB / 1.134 GB, free: 9.859 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.8125, allocations: 241.2 kB / 1.134 GB, free: 9.656 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.8144, allocations: 0.9681 MB / 1.135 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.8162, allocations: 0.8786 MB / 1.136 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001189/0.8174, allocations: 0.9717 MB / 1.137 GB, free: 7.711 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003847/0.8178, allocations: 269.3 kB / 1.137 GB, free: 7.523 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.8188, allocations: 0.7327 MB / 1.138 GB, free: 7.074 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003216/0.8191, allocations: 269.7 kB / 1.138 GB, free: 6.934 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.63e-05/0.8191, allocations: 31.97 kB / 1.138 GB, free: 6.934 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.8204, allocations: 0.83 MB / 1.139 GB, free: 6.465 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.8205, allocations: 161.8 kB / 1.139 GB, free: 6.352 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.8207, allocations: 165 kB / 1.139 GB, free: 6.277 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.8217, allocations: 0.9143 MB / 1.14 GB, free: 5.73 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.8217, allocations: 3.938 kB / 1.14 GB, free: 5.727 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8217, allocations: 1.344 kB / 1.14 GB, free: 5.727 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8217, allocations: 4 kB / 1.14 GB, free: 5.723 MB / 0.9792 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.001227/0.8229, allocations: 0.7369 MB / 1.141 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.823, allocations: 10.31 kB / 1.141 GB, free: 5.121 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.824, allocations: 183.5 kB / 1.141 GB, free: 5.031 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.8246, allocations: 335.8 kB / 1.142 GB, free: 4.754 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.8246, allocations: 22.41 kB / 1.142 GB, free: 4.746 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.8246, allocations: 31.25 kB / 1.142 GB, free: 4.734 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004927/0.8251, allocations: 426.1 kB / 1.142 GB, free: 4.414 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.8251, allocations: 3.938 kB / 1.142 GB, free: 4.41 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.694e-05/0.8252, allocations: 12.12 kB / 1.142 GB, free: 4.402 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.8252, allocations: 13.61 kB / 1.142 GB, free: 4.398 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.8256, allocations: 257.8 kB / 1.142 GB, free: 4.281 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.8268, allocations: 1.23 MB / 1.144 GB, free: 3.234 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.8271, allocations: 195 kB / 1.144 GB, free: 3.133 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.8272, allocations: 112.9 kB / 1.144 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.8276, allocations: 133.6 kB / 1.144 GB, free: 3.023 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.8277, allocations: 36.05 kB / 1.144 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=23): time 2.375e-06/0.8277, allocations: 5.25 kB / 1.144 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of matching and sorting (n=23): time 0.0007174/0.8284, allocations: 356.6 kB / 1.144 GB, free: 2.801 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.8284, allocations: 54.31 kB / 1.144 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.8287, allocations: 318.7 kB / 1.145 GB, free: 2.527 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.8287, allocations: 32.42 kB / 1.145 GB, free: 2.492 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.8288, allocations: 213.8 kB / 1.145 GB, free: 2.301 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.8288, allocations: 97.89 kB / 1.145 GB, free: 2.215 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.8289, allocations: 48.36 kB / 1.145 GB, free: 2.18 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.829, allocations: 342.8 kB / 1.145 GB, free: 1.844 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.8291, allocations: 78.86 kB / 1.145 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001525/0.8293, allocations: 179.4 kB / 1.146 GB, free: 1.664 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002385/0.8295, allocations: 214.3 kB / 1.146 GB, free: 1.543 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8295, allocations: 2.75 kB / 1.146 GB, free: 1.543 MB / 0.9792 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000312/0.8298, allocations: 280.5 kB / 1.146 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.8298, allocations: 5.188 kB / 1.146 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.8298, allocations: 0 / 1.146 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.8299, allocations: 3.344 kB / 1.146 GB, free: 1.395 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.83, allocations: 50.62 kB / 1.146 GB, free: 1.383 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.83, allocations: 5.453 kB / 1.146 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.8301, allocations: 28.59 kB / 1.146 GB, free: 1.359 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.8301, allocations: 12.41 kB / 1.146 GB, free: 1.355 MB / 0.9792 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.0001233/0.8302, allocations: 164.5 kB / 1.146 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.8303, allocations: 35.89 kB / 1.146 GB, free: 1.188 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003537/0.8306, allocations: 279.3 kB / 1.147 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.8306, allocations: 2.906 kB / 1.147 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.8306, allocations: 0 / 1.147 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.8306, allocations: 2.906 kB / 1.147 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000728/0.8314, allocations: 0.7009 MB / 1.147 GB, free: 500 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8314, allocations: 2.75 kB / 1.147 GB, free: 500 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.8315, allocations: 47.72 kB / 1.147 GB, free: 488 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.8315, allocations: 3 kB / 1.147 GB, free: 488 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.8315, allocations: 2.969 kB / 1.147 GB, free: 488 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.8315, allocations: 6.562 kB / 1.147 GB, free: 484 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.8315, allocations: 15.86 kB / 1.147 GB, free: 472 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004987/0.832, allocations: 0.49 MB / 1.148 GB, free: 120 kB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.8321, allocations: 63.09 kB / 1.148 GB, free: 76 kB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.8321, allocations: 10.67 kB / 1.148 GB, free: 68 kB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.8323, allocations: 16.52 kB / 1.148 GB, free: 60 kB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.212e-05/0.8323, allocations: 20.16 kB / 1.148 GB, free: 48 kB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.8323, allocations: 13.31 kB / 1.148 GB, free: 40 kB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000163/0.8325, allocations: 232.3 kB / 1.148 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.8325, allocations: 0 / 1.148 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002874/0.8328, allocations: 121.5 kB / 1.148 GB, free: 15.86 MB / 0.9948 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.0002796/0.8331, allocations: 178.6 kB / 1.149 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0003185/0.8334, allocations: 207.2 kB / 1.149 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8334, allocations: 0 / 1.149 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.8335, allocations: 104.3 kB / 1.149 GB, free: 15.6 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.834, allocations: 176 kB / 1.149 GB, free: 15.52 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.8351, allocations: 0.8371 MB / 1.15 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.8353, allocations: 217.6 kB / 1.15 GB, free: 14.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.894e-05/0.8354, allocations: 36.42 kB / 1.15 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/0.8354, allocations: 3.938 kB / 1.15 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of Templates: time 0.00633/0.8417, allocations: 5.974 MB / 1.156 GB, free: 11.66 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.460218239575624]