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: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_10_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.001181/0.001181, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001114/0.001114, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.149/1.149, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.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.2/2.2, allocations: 437 MB / 0.7101 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.91 kB / 0.8688 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.482, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.146/0.6281, allocations: 171.5 MB / 1.184 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003004/0.6311, allocations: 2.291 MB / 1.187 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002057/0.6313, allocations: 11.94 kB / 1.187 GB, free: 4.273 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005531/0.6319, allocations: 198.9 kB / 1.187 GB, free: 4.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.6334, allocations: 0.8754 MB / 1.188 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.6348, allocations: 0.77 MB / 1.188 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008595/0.6357, allocations: 0.9662 MB / 1.189 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.6361, allocations: 318.9 kB / 1.19 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004908/0.6366, allocations: 458.3 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.6369, allocations: 338.6 kB / 1.19 GB, free: 372 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.619e-05/0.6369, allocations: 32 kB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.6381, allocations: 1.021 MB / 1.191 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.6382, allocations: 151.4 kB / 1.192 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.6384, allocations: 242.8 kB / 1.192 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009659/0.6394, allocations: 0.966 MB / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.6394, allocations: 0 / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.123e-06/0.6394, allocations: 0 / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.6394, allocations: 0 / 1.193 GB, free: 13.95 MB / 0.9512 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.001025/0.6405, allocations: 0.8116 MB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.6405, allocations: 8.031 kB / 1.194 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.202e-05/0.6406, allocations: 70.53 kB / 1.194 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.6417, allocations: 179.2 kB / 1.194 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.6421, allocations: 373.4 kB / 1.194 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.6422, allocations: 24.66 kB / 1.194 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.491e-05/0.6422, allocations: 32 kB / 1.194 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005405/0.6428, allocations: 373.1 kB / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.6428, allocations: 0 / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.711e-05/0.6428, allocations: 12 kB / 1.195 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.6428, allocations: 15.94 kB / 1.195 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.6433, allocations: 262 kB / 1.195 GB, free: 11.7 MB / 0.9512 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.001475/0.6448, allocations: 1.671 MB / 1.197 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003395/0.6451, allocations: 212.5 kB / 1.197 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/0.6453, allocations: 112.8 kB / 1.197 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009257/0.6463, allocations: 0.874 MB / 1.198 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.6463, allocations: 34.56 kB / 1.198 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 1.272e-06/0.6463, allocations: 0 / 1.198 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.0007833/0.6471, allocations: 362.4 kB / 1.198 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.6471, allocations: 51.41 kB / 1.198 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.6475, allocations: 422 kB / 1.198 GB, free: 7.621 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.6475, allocations: 33.7 kB / 1.199 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.6477, allocations: 216.2 kB / 1.199 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.493e-05/0.6477, allocations: 74.86 kB / 1.199 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.6478, allocations: 57.7 kB / 1.199 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6479, allocations: 358.7 kB / 1.199 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.6481, allocations: 75.95 kB / 1.199 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.6483, allocations: 128.5 kB / 1.199 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.6486, allocations: 202.5 kB / 1.2 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6486, allocations: 0 / 1.2 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004608/0.6491, allocations: 285.1 kB / 1.2 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6491, allocations: 4 kB / 1.2 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.6491, allocations: 0 / 1.2 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.6492, allocations: 4 kB / 1.2 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.6494, allocations: 55.91 kB / 1.2 GB, free: 6.105 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.6494, allocations: 7.922 kB / 1.2 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.6496, allocations: 39.67 kB / 1.2 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.6496, allocations: 15.98 kB / 1.2 GB, free: 6.043 MB / 0.9512 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.0001371/0.6498, allocations: 165.8 kB / 1.2 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.255e-05/0.6498, allocations: 43.44 kB / 1.2 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005107/0.6504, allocations: 285.1 kB / 1.2 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.6504, allocations: 4 kB / 1.2 GB, free: 5.535 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6504, allocations: 3.938 kB / 1.2 GB, free: 5.531 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.6504, allocations: 4 kB / 1.2 GB, free: 5.527 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.6514, allocations: 0.8125 MB / 1.201 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.6515, allocations: 0 / 1.201 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/0.6517, allocations: 47.97 kB / 1.201 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.6517, allocations: 4.094 kB / 1.201 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.6517, allocations: 11.98 kB / 1.201 GB, free: 4.578 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.6517, allocations: 3.938 kB / 1.201 GB, free: 4.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6517, allocations: 4 kB / 1.201 GB, free: 4.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.6524, allocations: 0.5023 MB / 1.202 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.6525, allocations: 152.4 kB / 1.202 GB, free: 3.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.6526, allocations: 12 kB / 1.202 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.6529, allocations: 27.97 kB / 1.202 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.6529, allocations: 15.98 kB / 1.202 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.6529, allocations: 11.94 kB / 1.202 GB, free: 3.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002553/0.6532, allocations: 299.1 kB / 1.202 GB, free: 3.512 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6532, allocations: 4 kB / 1.202 GB, free: 3.508 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003632/0.6536, allocations: 119.8 kB / 1.202 GB, free: 3.391 MB / 0.9512 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.001109/0.6547, allocations: 1.123 MB / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004323/0.6551, allocations: 219.8 kB / 1.204 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6551, allocations: 0 / 1.204 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.6553, allocations: 116.2 kB / 1.204 GB, free: 1.898 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009589/0.6563, allocations: 234.5 kB / 1.204 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.6605, allocations: 3.843 MB / 1.208 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.6608, allocations: 0.8233 MB / 1.209 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002538/0.661, allocations: 79.36 kB / 1.209 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.6612, allocations: 143.3 kB / 1.209 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of SimCode: time 5.21e-07/0.6612, allocations: 7.938 kB / 1.209 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04045/0.7017, allocations: 11.82 MB / 1.22 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.7019, allocations: 237.5 kB / 1.221 GB, free: 0.8047 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.507, allocations: 0 / 1.221 GB, free: 0.8047 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Airflow_Multizone_Examples_Orifice.fmu > 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