Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001667/0.001667, allocations: 103.2 kB / 16.27 MB, free: 6.414 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.001582/0.001582, allocations: 191.2 kB / 17.2 MB, free: 5.953 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.495/1.495, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.641/2.641, allocations: 437.1 MB / 0.7111 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.52 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3699, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.9291/1.299, allocations: 173.8 MB / 1.188 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005163/1.304, allocations: 2.288 MB / 1.19 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/1.305, allocations: 17.75 kB / 1.19 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0009631/1.306, allocations: 238.5 kB / 1.19 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002939/1.309, allocations: 0.9333 MB / 1.191 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/1.312, allocations: 0.8152 MB / 1.192 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001795/1.314, allocations: 0.9709 MB / 1.193 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005575/1.314, allocations: 329 kB / 1.193 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008084/1.315, allocations: 450.8 kB / 1.194 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004342/1.315, allocations: 312.9 kB / 1.194 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 6.322e-05/1.315, allocations: 32.81 kB / 1.194 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/1.318, allocations: 0.9928 MB / 1.195 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002274/1.318, allocations: 150.8 kB / 1.195 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003461/1.318, allocations: 232.1 kB / 1.195 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00178/1.32, allocations: 0.8944 MB / 1.196 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/1.32, allocations: 1.156 kB / 1.196 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.148e-06/1.32, allocations: 0 / 1.196 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.684e-05/1.32, allocations: 4 kB / 1.196 GB, free: 12.77 MB / 0.9044 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.001873/1.322, allocations: 0.8027 MB / 1.197 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.853e-05/1.322, allocations: 9.453 kB / 1.197 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/1.324, allocations: 184.4 kB / 1.197 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/1.324, allocations: 370 kB / 1.197 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/1.324, allocations: 22.72 kB / 1.197 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.922e-05/1.325, allocations: 32.31 kB / 1.198 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007899/1.325, allocations: 372.7 kB / 1.198 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/1.325, allocations: 3.984 kB / 1.198 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/1.325, allocations: 13.81 kB / 1.198 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-05/1.325, allocations: 13.5 kB / 1.198 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/1.326, allocations: 268.5 kB / 1.198 GB, free: 11.26 MB / 0.9044 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.002462/1.329, allocations: 1.686 MB / 1.2 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004518/1.329, allocations: 203.7 kB / 1.2 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/1.329, allocations: 112.3 kB / 1.2 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/1.331, allocations: 0.8665 MB / 1.201 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.725e-05/1.331, allocations: 38.55 kB / 1.201 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=23): time 2.335e-06/1.331, allocations: 4 kB / 1.201 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23): time 0.001043/1.332, allocations: 351.2 kB / 1.201 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/1.332, allocations: 59.73 kB / 1.201 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/1.333, allocations: 419 kB / 1.202 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/1.333, allocations: 32.16 kB / 1.202 GB, free: 7.996 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/1.333, allocations: 224.2 kB / 1.202 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.571e-05/1.333, allocations: 72.98 kB / 1.202 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/1.333, allocations: 53.67 kB / 1.202 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002697/1.333, allocations: 360.7 kB / 1.202 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/1.334, allocations: 75.2 kB / 1.203 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/1.334, allocations: 131.1 kB / 1.203 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004491/1.334, allocations: 210.3 kB / 1.203 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.334, allocations: 2.75 kB / 1.203 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005839/1.335, allocations: 277.8 kB / 1.203 GB, free: 6.957 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.335, allocations: 8.344 kB / 1.203 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/1.335, allocations: 0 / 1.203 GB, free: 6.953 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/1.335, allocations: 6.844 kB / 1.203 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.335, allocations: 47.28 kB / 1.203 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/1.335, allocations: 2.938 kB / 1.203 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/1.336, allocations: 34.23 kB / 1.203 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.512e-05/1.336, allocations: 15.03 kB / 1.203 GB, free: 6.91 MB / 0.9044 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.0002254/1.336, allocations: 155.3 kB / 1.203 GB, free: 6.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.809e-05/1.336, allocations: 50.03 kB / 1.203 GB, free: 6.742 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/1.337, allocations: 289.9 kB / 1.204 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/1.337, allocations: 2.406 kB / 1.204 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.337, allocations: 0 / 1.204 GB, free: 6.574 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/1.337, allocations: 3.984 kB / 1.204 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/1.338, allocations: 0.813 MB / 1.205 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.338, allocations: 2.562 kB / 1.205 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/1.338, allocations: 42.02 kB / 1.205 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/1.338, allocations: 2.688 kB / 1.205 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.435e-05/1.338, allocations: 21.11 kB / 1.205 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.338, allocations: 3.75 kB / 1.205 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/1.338, allocations: 2.25 kB / 1.205 GB, free: 5.895 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000941/1.339, allocations: 0.5145 MB / 1.205 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/1.34, allocations: 149 kB / 1.205 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.375e-05/1.34, allocations: 6.125 kB / 1.205 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002674/1.34, allocations: 11.23 kB / 1.205 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/1.34, allocations: 26.16 kB / 1.205 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/1.34, allocations: 7.75 kB / 1.205 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004028/1.341, allocations: 301.6 kB / 1.206 GB, free: 5.18 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.81e-07/1.341, allocations: 6.875 kB / 1.206 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005514/1.341, allocations: 113 kB / 1.206 GB, free: 5.156 MB / 0.9044 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.0007609/1.342, allocations: 200.2 kB / 1.206 GB, free: 5.008 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005934/1.342, allocations: 219.3 kB / 1.206 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.342, allocations: 0 / 1.206 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002622/1.343, allocations: 119.5 kB / 1.206 GB, free: 4.863 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/1.344, allocations: 216.9 kB / 1.206 GB, free: 4.754 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/1.346, allocations: 0.9417 MB / 1.207 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006147/1.347, allocations: 0.8215 MB / 1.208 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/1.347, allocations: 39.62 kB / 1.208 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of SimCode: time 1.072e-06/1.347, allocations: 0 / 1.208 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of Templates: time 0.01485/1.362, allocations: 6.591 MB / 1.215 GB, free: 15.49 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches