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.002554/0.002554, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002939/0.002939, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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 1.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.182/3.182, allocations: 377.8 MB / 0.6232 GB, free: 8.508 MB / 0.5886 GB " [Timeout remaining time 176] 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.363e-06/1.363e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.577e-05/2.713e-05, allocations: 3.219 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2399/0.2399, allocations: 170.3 MB / 0.9771 GB, free: 7.266 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.004564/0.2444, allocations: 2.332 MB / 0.9794 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003161/0.2448, allocations: 23.81 kB / 0.9794 GB, free: 4.906 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0007862/0.2456, allocations: 242.3 kB / 0.9796 GB, free: 4.668 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002597/0.2481, allocations: 0.9559 MB / 0.9806 GB, free: 3.707 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.2505, allocations: 0.8875 MB / 0.9814 GB, free: 2.816 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.001399/0.2519, allocations: 0.9621 MB / 0.9824 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005264/0.2524, allocations: 287.5 kB / 0.9826 GB, free: 1.566 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.2538, allocations: 0.736 MB / 0.9834 GB, free: 0.8281 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.2543, allocations: 275.1 kB / 0.9836 GB, free: 0.5586 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 7.765e-05/0.2544, allocations: 32 kB / 0.9836 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.2561, allocations: 0.8295 MB / 0.9845 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002094/0.2563, allocations: 159.5 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.2565, allocations: 163.6 kB / 0.9848 GB, free: 15.38 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.2581, allocations: 0.923 MB / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2581, allocations: 0 / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2581, allocations: 0 / 0.9857 GB, free: 14.45 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.2581, allocations: 0 / 0.9857 GB, free: 14.45 MB / 0.948 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.001536/0.2596, allocations: 0.8646 MB / 0.9865 GB, free: 13.54 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2596, allocations: 12.03 kB / 0.9865 GB, free: 13.53 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001359/0.261, allocations: 246.9 kB / 0.9868 GB, free: 13.29 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.2617, allocations: 338.8 kB / 0.9871 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.2617, allocations: 24.66 kB / 0.9871 GB, free: 12.91 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.067e-05/0.2618, allocations: 32 kB / 0.9871 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009802/0.2628, allocations: 400.2 kB / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2628, allocations: 0 / 0.9875 GB, free: 12.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.2629, allocations: 16 kB / 0.9875 GB, free: 12.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.2629, allocations: 12 kB / 0.9875 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.2634, allocations: 205.7 kB / 0.9877 GB, free: 12.21 MB / 0.948 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.002216/0.2656, allocations: 1.624 MB / 0.9893 GB, free: 10.52 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.266, allocations: 183 kB / 0.9895 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.2662, allocations: 91.58 kB / 0.9896 GB, free: 10.24 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/0.2669, allocations: 119.9 kB / 0.9897 GB, free: 10.12 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.2669, allocations: 41.33 kB / 0.9897 GB, free: 10.07 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 1.493e-06/0.2669, allocations: 0 / 0.9897 GB, free: 10.07 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.0009073/0.2679, allocations: 301.1 kB / 0.99 GB, free: 9.773 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.2679, allocations: 51.41 kB / 0.9901 GB, free: 9.711 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004892/0.2684, allocations: 414.7 kB / 0.9905 GB, free: 9.293 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.2684, allocations: 33.7 kB / 0.9905 GB, free: 9.254 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.2687, allocations: 279.2 kB / 0.9908 GB, free: 8.973 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2688, allocations: 95.25 kB / 0.9909 GB, free: 8.879 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.2689, allocations: 59.31 kB / 0.9909 GB, free: 8.812 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000321/0.2692, allocations: 0.5313 MB / 0.9914 GB, free: 8.27 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.2694, allocations: 63.91 kB / 0.9915 GB, free: 8.207 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.2697, allocations: 167.3 kB / 0.9917 GB, free: 8.016 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004007/0.2701, allocations: 196.2 kB / 0.9918 GB, free: 7.809 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2701, allocations: 0 / 0.9918 GB, free: 7.809 MB / 0.948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005312/0.2706, allocations: 252 kB / 0.9921 GB, free: 7.559 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.2706, allocations: 11.98 kB / 0.9921 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2706, allocations: 0 / 0.9921 GB, free: 7.547 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.2706, allocations: 4 kB / 0.9921 GB, free: 7.543 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.2709, allocations: 47.92 kB / 0.9921 GB, free: 7.496 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2709, allocations: 4 kB / 0.9922 GB, free: 7.492 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2711, allocations: 19.84 kB / 0.9922 GB, free: 7.473 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.2711, allocations: 15.98 kB / 0.9922 GB, free: 7.457 MB / 0.948 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.0002079/0.2713, allocations: 192.5 kB / 0.9924 GB, free: 7.258 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.2714, allocations: 43.84 kB / 0.9924 GB, free: 7.215 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005979/0.272, allocations: 251 kB / 0.9927 GB, free: 6.965 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.272, allocations: 0 / 0.9927 GB, free: 6.965 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.272, allocations: 4 kB / 0.9927 GB, free: 6.961 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.272, allocations: 96 / 0.9927 GB, free: 6.961 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.2734, allocations: 0.7712 MB / 0.9934 GB, free: 6.125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.2734, allocations: 7.984 kB / 0.9934 GB, free: 6.117 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.2736, allocations: 39.92 kB / 0.9935 GB, free: 6.078 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.782e-06/0.2737, allocations: 4 kB / 0.9935 GB, free: 6.074 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.2737, allocations: 8 kB / 0.9935 GB, free: 6.066 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.2737, allocations: 7.938 kB / 0.9935 GB, free: 6.059 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2737, allocations: 0 / 0.9935 GB, free: 6.059 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008406/0.2745, allocations: 0.5131 MB / 0.994 GB, free: 5.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/0.2747, allocations: 67.7 kB / 0.994 GB, free: 5.434 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.2747, allocations: 11.94 kB / 0.994 GB, free: 5.422 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.275, allocations: 8 kB / 0.9941 GB, free: 5.414 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.275, allocations: 19.91 kB / 0.9941 GB, free: 5.395 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.2751, allocations: 19.98 kB / 0.9941 GB, free: 5.375 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005306/0.2756, allocations: 275.1 kB / 0.9944 GB, free: 5.105 MB / 0.948 GB Notification: Performance of sort global known variables: time 1e-07/0.2756, allocations: 0 / 0.9944 GB, free: 5.105 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004841/0.2761, allocations: 127.7 kB / 0.9945 GB, free: 4.98 MB / 0.948 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.0003575/0.2764, allocations: 187 kB / 0.9947 GB, free: 4.789 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.2769, allocations: 182 kB / 0.9948 GB, free: 4.609 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2769, allocations: 0 / 0.9948 GB, free: 4.609 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002222/0.2771, allocations: 104 kB / 0.9949 GB, free: 4.504 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009618/0.2781, allocations: 157.2 kB / 0.9951 GB, free: 4.352 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.2797, allocations: 0.8293 MB / 0.9959 GB, free: 3.461 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.28, allocations: 219.1 kB / 0.9961 GB, free: 3.23 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.2802, allocations: 62.92 kB / 0.9962 GB, free: 3.172 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.2803, allocations: 28.5 kB / 0.9962 GB, free: 3.145 MB / 0.948 GB Notification: Performance of SimCode: time 6.91e-07/0.2803, allocations: 4 kB / 0.9962 GB, free: 3.141 MB / 0.948 GB Notification: Performance of Templates: time 0.01476/0.295, allocations: 6.601 MB / 1.003 GB, free: 12.74 MB / 0.9636 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) [Timeout 240] 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: 8.790182426921092]