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.001419/0.001419, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001581/0.001581, allocations: 222.9 kB / 23 MB, free: 4.91 MB / 14.72 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 1.704/1.704, allocations: 230.6 MB / 256.8 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.394/3.394, allocations: 0.4892 GB / 0.7951 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 68.25 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4626/0.4648, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2425/0.7072, allocations: 153.5 MB / 1.476 GB, free: 7.797 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.00478/0.712, allocations: 2.176 MB / 1.478 GB, free: 5.617 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005068/0.7125, allocations: 15.88 kB / 1.478 GB, free: 5.602 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009704/0.7135, allocations: 246.3 kB / 1.479 GB, free: 5.359 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.7162, allocations: 0.9334 MB / 1.479 GB, free: 4.422 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.719, allocations: 0.8485 MB / 1.48 GB, free: 3.574 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.7208, allocations: 0.9701 MB / 1.481 GB, free: 2.602 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005296/0.7213, allocations: 259.4 kB / 1.481 GB, free: 2.344 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001519/0.7229, allocations: 0.6151 MB / 1.482 GB, free: 1.727 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005077/0.7234, allocations: 310.6 kB / 1.482 GB, free: 1.422 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-05/0.7234, allocations: 32 kB / 1.482 GB, free: 1.391 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.7257, allocations: 0.8219 MB / 1.483 GB, free: 0.5664 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.726, allocations: 147.5 kB / 1.483 GB, free: 432 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.7262, allocations: 199.1 kB / 1.484 GB, free: 232 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.728, allocations: 0.8798 MB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.728, allocations: 0 / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.124e-06/0.728, allocations: 0 / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.183e-05/0.728, allocations: 0 / 1.484 GB, free: 15.34 MB / 1.186 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.001628/0.7297, allocations: 0.7378 MB / 1.485 GB, free: 14.57 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.7297, allocations: 12.03 kB / 1.485 GB, free: 14.56 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.7311, allocations: 191.4 kB / 1.485 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/0.7319, allocations: 335.8 kB / 1.486 GB, free: 14.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.172e-05/0.7319, allocations: 20.66 kB / 1.486 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.322e-05/0.732, allocations: 32 kB / 1.486 GB, free: 13.97 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008123/0.7328, allocations: 416.4 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.7328, allocations: 3.984 kB / 1.486 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.516e-05/0.7329, allocations: 12 kB / 1.486 GB, free: 13.51 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.39e-05/0.7329, allocations: 19.94 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005653/0.7335, allocations: 257.7 kB / 1.486 GB, free: 13.24 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.7355, allocations: 1.234 MB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.736, allocations: 190.5 kB / 1.488 GB, free: 11.75 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.7362, allocations: 110.6 kB / 1.488 GB, free: 11.64 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.7369, allocations: 127.7 kB / 1.488 GB, free: 11.52 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.737, allocations: 38.56 kB / 1.488 GB, free: 11.47 MB / 1.186 GB Notification: Performance of pre-optimization done (n=23): time 3.066e-06/0.737, allocations: 0 / 1.488 GB, free: 11.47 MB / 1.186 GB Notification: Performance of matching and sorting (n=23): time 0.0009969/0.738, allocations: 355.1 kB / 1.488 GB, free: 11.12 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.738, allocations: 55.41 kB / 1.488 GB, free: 11.05 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.7385, allocations: 317.7 kB / 1.489 GB, free: 10.73 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.7385, allocations: 29.7 kB / 1.489 GB, free: 10.7 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.7387, allocations: 228.5 kB / 1.489 GB, free: 10.47 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.7388, allocations: 83.23 kB / 1.489 GB, free: 10.39 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.7389, allocations: 49.81 kB / 1.489 GB, free: 10.33 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002086/0.7391, allocations: 350.7 kB / 1.489 GB, free: 9.98 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.7393, allocations: 79.95 kB / 1.489 GB, free: 9.902 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002847/0.7396, allocations: 183.7 kB / 1.49 GB, free: 9.699 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004271/0.74, allocations: 205.5 kB / 1.49 GB, free: 9.488 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.74, allocations: 4 kB / 1.49 GB, free: 9.484 MB / 1.186 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00057/0.7406, allocations: 277.2 kB / 1.49 GB, free: 9.207 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.7406, allocations: 4 kB / 1.49 GB, free: 9.203 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.7406, allocations: 8.047 kB / 1.49 GB, free: 9.195 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.7406, allocations: 4 kB / 1.49 GB, free: 9.191 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002612/0.7409, allocations: 47.98 kB / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.7409, allocations: 0 / 1.49 GB, free: 9.145 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.7411, allocations: 31.75 kB / 1.49 GB, free: 9.113 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.7412, allocations: 8 kB / 1.49 GB, free: 9.105 MB / 1.186 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.0002252/0.7414, allocations: 165.8 kB / 1.49 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-05/0.7415, allocations: 35.77 kB / 1.49 GB, free: 8.898 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006283/0.7421, allocations: 284.7 kB / 1.491 GB, free: 8.613 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.7421, allocations: 4 kB / 1.491 GB, free: 8.609 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7421, allocations: 0 / 1.491 GB, free: 8.609 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7421, allocations: 7.922 kB / 1.491 GB, free: 8.602 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/0.7434, allocations: 0.7039 MB / 1.491 GB, free: 7.844 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7435, allocations: 3.938 kB / 1.491 GB, free: 7.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.7437, allocations: 47.91 kB / 1.491 GB, free: 7.793 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.7437, allocations: 7.938 kB / 1.491 GB, free: 7.785 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.7437, allocations: 8 kB / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7437, allocations: 0 / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.7437, allocations: 4 kB / 1.491 GB, free: 7.773 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009223/0.7447, allocations: 0.4984 MB / 1.492 GB, free: 7.242 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.7448, allocations: 67.59 kB / 1.492 GB, free: 7.176 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.586e-05/0.7448, allocations: 4 kB / 1.492 GB, free: 7.172 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.7451, allocations: 15.98 kB / 1.492 GB, free: 7.156 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.7452, allocations: 19.97 kB / 1.492 GB, free: 7.137 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.7452, allocations: 8 kB / 1.492 GB, free: 7.129 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002877/0.7455, allocations: 231.2 kB / 1.492 GB, free: 6.91 MB / 1.186 GB Notification: Performance of sort global known variables: time 6e-08/0.7455, allocations: 0 / 1.492 GB, free: 6.91 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0005397/0.746, allocations: 123.7 kB / 1.492 GB, free: 6.789 MB / 1.186 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.0003996/0.7464, allocations: 194.6 kB / 1.493 GB, free: 6.59 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0005301/0.7469, allocations: 195.7 kB / 1.493 GB, free: 6.398 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.7469, allocations: 0 / 1.493 GB, free: 6.398 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/0.7472, allocations: 115.9 kB / 1.493 GB, free: 6.285 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/0.7482, allocations: 156.7 kB / 1.493 GB, free: 6.133 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.7502, allocations: 0.9287 MB / 1.494 GB, free: 5.148 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.7505, allocations: 223.4 kB / 1.494 GB, free: 4.906 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.7506, allocations: 31.44 kB / 1.494 GB, free: 4.875 MB / 1.186 GB Notification: Performance of SimCode: time 8.51e-07/0.7506, allocations: 0 / 1.494 GB, free: 4.875 MB / 1.186 GB Notification: Performance of Templates: time 0.01341/0.764, allocations: 5.95 MB / 1.5 GB, free: 14.98 MB / 1.201 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/jenkins1/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: 13.95750954374671]