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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001526/0.001526, allocations: 104.4 kB / 16.35 MB, free: 6.289 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.001434/0.001434, allocations: 192.7 kB / 17.29 MB, free: 5.863 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.62 kB / 0.814 GB, free: 32.67 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.3199, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.821/1.141, allocations: 173.8 MB / 1.121 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004817/1.146, allocations: 2.286 MB / 1.123 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/1.147, allocations: 18.25 kB / 1.123 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009595/1.148, allocations: 234.8 kB / 1.123 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/1.151, allocations: 0.9388 MB / 1.124 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/1.154, allocations: 0.8199 MB / 1.125 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002044/1.156, allocations: 0.9646 MB / 1.126 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006476/1.157, allocations: 336.1 kB / 1.126 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/1.158, allocations: 452.2 kB / 1.127 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005106/1.159, allocations: 313.6 kB / 1.127 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.437e-05/1.159, allocations: 32.72 kB / 1.127 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/1.161, allocations: 0.9899 MB / 1.128 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002598/1.162, allocations: 155.4 kB / 1.128 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003644/1.162, allocations: 236 kB / 1.128 GB, free: 5.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00237/1.164, allocations: 0.8976 MB / 1.129 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/1.164, allocations: 4.75 kB / 1.129 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.364e-06/1.164, allocations: 0 / 1.129 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.31e-05/1.164, allocations: 0 / 1.129 GB, free: 5.371 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.001768/1.166, allocations: 0.8094 MB / 1.13 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.166, allocations: 9.5 kB / 1.13 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/1.168, allocations: 180.3 kB / 1.13 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/1.168, allocations: 388.7 kB / 1.131 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.965e-05/1.168, allocations: 23.66 kB / 1.131 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.312e-05/1.169, allocations: 34.39 kB / 1.131 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000652/1.169, allocations: 375.6 kB / 1.131 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/1.169, allocations: 2.438 kB / 1.131 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/1.169, allocations: 13.72 kB / 1.131 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.79e-05/1.169, allocations: 10.09 kB / 1.131 GB, free: 20.44 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/1.17, allocations: 257.8 kB / 1.131 GB, free: 20.43 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.001994/1.172, allocations: 1.675 MB / 1.133 GB, free: 19.29 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/1.172, allocations: 212.6 kB / 1.133 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/1.173, allocations: 118.7 kB / 1.133 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/1.174, allocations: 0.8671 MB / 1.134 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/1.174, allocations: 37.7 kB / 1.134 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=23): time 2.325e-06/1.174, allocations: 0 / 1.134 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23): time 0.0009159/1.175, allocations: 353.4 kB / 1.134 GB, free: 18.21 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/1.175, allocations: 58.16 kB / 1.135 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/1.175, allocations: 417.9 kB / 1.135 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/1.175, allocations: 32.36 kB / 1.135 GB, free: 18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/1.175, allocations: 213.6 kB / 1.135 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.227e-05/1.175, allocations: 81.92 kB / 1.135 GB, free: 17.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.991e-05/1.176, allocations: 54.59 kB / 1.135 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001218/1.176, allocations: 358 kB / 1.136 GB, free: 17.51 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/1.176, allocations: 80.81 kB / 1.136 GB, free: 17.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/1.176, allocations: 124 kB / 1.136 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004174/1.177, allocations: 209.5 kB / 1.136 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.177, allocations: 32 / 1.136 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006159/1.177, allocations: 287.2 kB / 1.136 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.177, allocations: 5.062 kB / 1.136 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/1.177, allocations: 3.719 kB / 1.136 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/1.177, allocations: 2.562 kB / 1.136 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/1.177, allocations: 52.31 kB / 1.136 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.177, allocations: 4.312 kB / 1.136 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/1.178, allocations: 32.14 kB / 1.136 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/1.178, allocations: 16.66 kB / 1.136 GB, free: 17.35 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.0001838/1.178, allocations: 162.2 kB / 1.137 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/1.178, allocations: 43.84 kB / 1.137 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005569/1.179, allocations: 287.9 kB / 1.137 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.179, allocations: 2.219 kB / 1.137 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/1.179, allocations: 2.906 kB / 1.137 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.179, allocations: 0.7812 kB / 1.137 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/1.18, allocations: 0.8084 MB / 1.138 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.18, allocations: 6.688 kB / 1.138 GB, free: 16.81 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/1.18, allocations: 53.58 kB / 1.138 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.18, allocations: 4.047 kB / 1.138 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.035e-05/1.18, allocations: 4.438 kB / 1.138 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/1.18, allocations: 4.188 kB / 1.138 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.18, allocations: 1.969 kB / 1.138 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/1.181, allocations: 0.5123 MB / 1.138 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001785/1.181, allocations: 142.7 kB / 1.138 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.907e-05/1.181, allocations: 6.375 kB / 1.138 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/1.182, allocations: 17.56 kB / 1.138 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/1.182, allocations: 22.78 kB / 1.138 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/1.182, allocations: 9.906 kB / 1.138 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00032/1.182, allocations: 299.4 kB / 1.139 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.182, allocations: 1.203 kB / 1.139 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005682/1.183, allocations: 115.1 kB / 1.139 GB, free: 16.37 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.0004561/1.183, allocations: 204.2 kB / 1.139 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004917/1.184, allocations: 219.5 kB / 1.139 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.184, allocations: 0 / 1.139 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/1.184, allocations: 116.7 kB / 1.139 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/1.185, allocations: 221.1 kB / 1.14 GB, free: 16.21 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/1.186, allocations: 0.8885 MB / 1.14 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/1.187, allocations: 0.8281 MB / 1.141 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002837/1.187, allocations: 85.69 kB / 1.141 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/1.187, allocations: 35.53 kB / 1.141 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/1.187, allocations: 1.281 kB / 1.141 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of Templates: time 0.01653/1.204, allocations: 8.037 MB / 1.149 GB, free: 14.53 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 -s cvode -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