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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001212/0.001212, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.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.017/2.017, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 67.89 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4835/0.4847, allocations: 140.3 MB / 0.949 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.148/0.6327, allocations: 171.6 MB / 1.117 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.003029/0.6358, allocations: 2.322 MB / 1.119 GB, free: 3.633 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.636, allocations: 15.88 kB / 1.119 GB, free: 3.617 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005417/0.6366, allocations: 182.9 kB / 1.119 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.6381, allocations: 0.8792 MB / 1.12 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.6395, allocations: 0.7592 MB / 1.121 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001035/0.6405, allocations: 1.341 MB / 1.122 GB, free: 464 kB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003305/0.6409, allocations: 282.3 kB / 1.122 GB, free: 176 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.6414, allocations: 414.3 kB / 1.123 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.6417, allocations: 326.7 kB / 1.123 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.798e-05/0.6418, allocations: 20 kB / 1.123 GB, free: 15.43 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001439/0.6432, allocations: 1.169 MB / 1.124 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.6433, allocations: 143.5 kB / 1.124 GB, free: 14.11 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.6435, allocations: 218.8 kB / 1.124 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0009983/0.6446, allocations: 0.9581 MB / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6446, allocations: 0 / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.41e-07/0.6446, allocations: 0 / 1.125 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.6446, allocations: 0 / 1.125 GB, free: 12.94 MB / 0.8887 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.00102/0.6456, allocations: 0.81 MB / 1.126 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.6456, allocations: 8.031 kB / 1.126 GB, free: 12.07 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.271e-05/0.6457, allocations: 66.53 kB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6469, allocations: 179.2 kB / 1.126 GB, free: 11.82 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004209/0.6473, allocations: 377.4 kB / 1.127 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.6473, allocations: 24.66 kB / 1.127 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.243e-05/0.6474, allocations: 28 kB / 1.127 GB, free: 11.36 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005299/0.6479, allocations: 373.1 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.6479, allocations: 3.938 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.648, allocations: 16 kB / 1.127 GB, free: 10.95 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/0.648, allocations: 15.94 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.6484, allocations: 258 kB / 1.127 GB, free: 10.69 MB / 0.8887 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.001473/0.6499, allocations: 1.671 MB / 1.129 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.6503, allocations: 222.3 kB / 1.129 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.6505, allocations: 112.8 kB / 1.129 GB, free: 8.539 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000895/0.6514, allocations: 0.8701 MB / 1.13 GB, free: 7.484 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.6514, allocations: 30.56 kB / 1.13 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 1.292e-06/0.6514, allocations: 0 / 1.13 GB, free: 7.445 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.0007794/0.6522, allocations: 358.5 kB / 1.131 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.6522, allocations: 51.41 kB / 1.131 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.6526, allocations: 422 kB / 1.131 GB, free: 6.605 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.6526, allocations: 29.7 kB / 1.131 GB, free: 6.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.6528, allocations: 224.2 kB / 1.131 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.6528, allocations: 78.84 kB / 1.131 GB, free: 6.266 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-05/0.6529, allocations: 53.61 kB / 1.131 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.653, allocations: 358.7 kB / 1.132 GB, free: 5.848 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.6532, allocations: 75.95 kB / 1.132 GB, free: 5.773 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.6534, allocations: 124.8 kB / 1.132 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.6537, allocations: 206.5 kB / 1.132 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6538, allocations: 0 / 1.132 GB, free: 5.43 MB / 0.8887 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004609/0.6542, allocations: 277 kB / 1.132 GB, free: 5.152 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.6542, allocations: 8 kB / 1.132 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.6543, allocations: 0 / 1.132 GB, free: 5.145 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.6543, allocations: 4 kB / 1.132 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.6545, allocations: 56.03 kB / 1.132 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.6545, allocations: 8.047 kB / 1.133 GB, free: 5.078 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.6547, allocations: 47.59 kB / 1.133 GB, free: 5.031 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.6548, allocations: 15.92 kB / 1.133 GB, free: 5.016 MB / 0.8887 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.000135/0.6549, allocations: 161.8 kB / 1.133 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.842e-05/0.655, allocations: 43.44 kB / 1.133 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000498/0.6555, allocations: 283.2 kB / 1.133 GB, free: 4.523 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6555, allocations: 4 kB / 1.133 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6555, allocations: 3.938 kB / 1.133 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.6555, allocations: 0 / 1.133 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.6565, allocations: 0.8113 MB / 1.134 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6566, allocations: 4 kB / 1.134 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.6568, allocations: 51.91 kB / 1.134 GB, free: 3.574 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.6568, allocations: 4 kB / 1.134 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.6568, allocations: 4.188 kB / 1.134 GB, free: 3.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6568, allocations: 4 kB / 1.134 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.139e-06/0.6568, allocations: 11.92 kB / 1.134 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006659/0.6575, allocations: 0.4997 MB / 1.134 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.6576, allocations: 148.5 kB / 1.135 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.6577, allocations: 8 kB / 1.135 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002665/0.658, allocations: 27.97 kB / 1.135 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/0.658, allocations: 23.92 kB / 1.135 GB, free: 2.793 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.658, allocations: 7.938 kB / 1.135 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002613/0.6583, allocations: 303.1 kB / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6583, allocations: 0 / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003698/0.6587, allocations: 119.8 kB / 1.135 GB, free: 2.375 MB / 0.8887 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.001121/0.6598, allocations: 1.127 MB / 1.136 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004002/0.6602, allocations: 218.8 kB / 1.136 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6602, allocations: 0 / 1.136 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001968/0.6604, allocations: 111.8 kB / 1.136 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.6614, allocations: 215.1 kB / 1.137 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.6655, allocations: 3.847 MB / 1.14 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.6659, allocations: 0.8269 MB / 1.141 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002659/0.6661, allocations: 83.34 kB / 1.141 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.6663, allocations: 135.4 kB / 1.141 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of SimCode: time 2.21e-07/0.6663, allocations: 0 / 1.141 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.687, allocations: 11.51 MB / 1.153 GB, free: 356 kB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000195/0.6872, allocations: 237.7 kB / 1.153 GB, free: 92 kB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.505, allocations: 3.938 kB / 1.153 GB, free: 88 kB / 0.9044 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_Orifice.fmu > 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