Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Airflow_Multizone_Examples_Orifice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.Orifice,fileNamePrefix="Buildings_latest_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.001526/0.001526, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001622/0.001621, allocations: 198.5 kB / 16.26 MB, free: 6.625 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.766/1.766, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.399/3.399, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001375, allocations: 69.38 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4203, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.203/0.6233, allocations: 171.5 MB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004401/0.6278, allocations: 2.277 MB / 1.222 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007905/0.6286, allocations: 19.81 kB / 1.222 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009909/0.6296, allocations: 202.9 kB / 1.222 GB, free: 9.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002867/0.6326, allocations: 0.8753 MB / 1.223 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.635, allocations: 0.7575 MB / 1.224 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001644/0.6367, allocations: 0.974 MB / 1.225 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006688/0.6373, allocations: 314.9 kB / 1.225 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.6384, allocations: 458.3 kB / 1.226 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006442/0.639, allocations: 334.6 kB / 1.226 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.6391, allocations: 36 kB / 1.226 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.6411, allocations: 1.029 MB / 1.227 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002575/0.6414, allocations: 151.6 kB / 1.227 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.6418, allocations: 238.8 kB / 1.227 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001982/0.6438, allocations: 0.9621 MB / 1.228 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.6438, allocations: 4 kB / 1.228 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6439, allocations: 0 / 1.228 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.6439, allocations: 0 / 1.228 GB, free: 3.863 MB / 0.9825 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.001618/0.6455, allocations: 0.8022 MB / 1.229 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.6456, allocations: 12.62 kB / 1.229 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.988e-05/0.6457, allocations: 66.53 kB / 1.229 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/0.647, allocations: 187.1 kB / 1.229 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006226/0.6476, allocations: 369.5 kB / 1.23 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.6477, allocations: 24.66 kB / 1.23 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.095e-05/0.6477, allocations: 32 kB / 1.23 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000654/0.6484, allocations: 369.1 kB / 1.23 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6484, allocations: 0 / 1.23 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.6485, allocations: 16 kB / 1.23 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/0.6485, allocations: 11.94 kB / 1.23 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005156/0.649, allocations: 266 kB / 1.23 GB, free: 1.617 MB / 0.9825 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.00201/0.651, allocations: 1.675 MB / 1.232 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.6514, allocations: 202.5 kB / 1.232 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.6517, allocations: 112.8 kB / 1.232 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.6528, allocations: 0.8701 MB / 1.233 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.573e-05/0.6528, allocations: 38.56 kB / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.6528, allocations: 0 / 1.233 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.0009241/0.6537, allocations: 359.6 kB / 1.234 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.6538, allocations: 59.41 kB / 1.234 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004515/0.6543, allocations: 422 kB / 1.234 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.6543, allocations: 29.81 kB / 1.234 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.6545, allocations: 220.2 kB / 1.234 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/0.6545, allocations: 86.73 kB / 1.234 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.372e-05/0.6546, allocations: 49.7 kB / 1.234 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.6548, allocations: 354.7 kB / 1.235 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.655, allocations: 83.89 kB / 1.235 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.6552, allocations: 128 kB / 1.235 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.6556, allocations: 208.8 kB / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.6556, allocations: 0 / 1.235 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005377/0.6562, allocations: 277 kB / 1.235 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.6562, allocations: 8 kB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6562, allocations: 0 / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.6562, allocations: 3.984 kB / 1.235 GB, free: 12.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/0.6565, allocations: 47.92 kB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.6565, allocations: 7.938 kB / 1.235 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.6568, allocations: 51.59 kB / 1.235 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.6568, allocations: 12 kB / 1.235 GB, free: 11.95 MB / 0.9981 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.0001697/0.657, allocations: 153.8 kB / 1.236 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.6571, allocations: 43.53 kB / 1.236 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.6576, allocations: 297.1 kB / 1.236 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.6577, allocations: 4 kB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6577, allocations: 3.938 kB / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6577, allocations: 0 / 1.236 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.6589, allocations: 0.8092 MB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6589, allocations: 7.984 kB / 1.237 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.6591, allocations: 39.98 kB / 1.237 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6592, allocations: 96 / 1.237 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.6592, allocations: 11.98 kB / 1.237 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.6592, allocations: 11.92 kB / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6592, allocations: 0 / 1.237 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007653/0.66, allocations: 0.5045 MB / 1.237 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.6602, allocations: 148.5 kB / 1.237 GB, free: 9.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.6602, allocations: 8 kB / 1.237 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002962/0.6605, allocations: 19.97 kB / 1.237 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.786e-05/0.6606, allocations: 19.98 kB / 1.238 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.6606, allocations: 11.94 kB / 1.238 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003173/0.661, allocations: 303.1 kB / 1.238 GB, free: 9.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.661, allocations: 3.938 kB / 1.238 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004664/0.6614, allocations: 119.8 kB / 1.238 GB, free: 9.309 MB / 0.9981 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.001434/0.6629, allocations: 1.138 MB / 1.239 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.6634, allocations: 213.5 kB / 1.239 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6634, allocations: 4.062 kB / 1.239 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.6636, allocations: 111.8 kB / 1.239 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6649, allocations: 217.8 kB / 1.24 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006417/0.6713, allocations: 3.843 MB / 1.243 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004995/0.6718, allocations: 0.8311 MB / 1.244 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003893/0.6722, allocations: 87.33 kB / 1.244 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.6725, allocations: 139.4 kB / 1.244 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of SimCode: time 7.12e-07/0.6725, allocations: 0 / 1.244 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6878/1.36, allocations: 11.82 MB / 1.256 GB, free: 196 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/1.361, allocations: 241.1 kB / 1.256 GB, free: 195.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/3.702, allocations: 0 / 1.256 GB, free: 195.7 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_Examples_Orifice.fmu > Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches