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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001489/0.001488, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001646/0.001646, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.006/3.006, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.957/2.957, allocations: 437 MB / 0.7099 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 60.12 kB / 0.8686 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8846, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2199/1.105, allocations: 171.6 MB / 1.184 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004775/1.109, allocations: 2.311 MB / 1.187 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005236/1.11, allocations: 11.94 kB / 1.187 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0008419/1.111, allocations: 194.8 kB / 1.187 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002518/1.113, allocations: 0.887 MB / 1.188 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002394/1.116, allocations: 0.7438 MB / 1.188 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001744/1.118, allocations: 1.345 MB / 1.19 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/1.118, allocations: 278.3 kB / 1.19 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007175/1.119, allocations: 410.4 kB / 1.19 GB, free: 360 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/1.119, allocations: 326.6 kB / 1.191 GB, free: 32 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.088e-05/1.119, allocations: 24 kB / 1.191 GB, free: 8 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002397/1.122, allocations: 1.169 MB / 1.192 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001814/1.122, allocations: 135.6 kB / 1.192 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002836/1.122, allocations: 222.8 kB / 1.192 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/1.124, allocations: 0.9581 MB / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/1.124, allocations: 0 / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.442e-06/1.124, allocations: 0 / 1.193 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.338e-06/1.124, allocations: 0 / 1.193 GB, free: 13.52 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.001468/1.125, allocations: 0.808 MB / 1.194 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/1.125, allocations: 12.03 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/1.125, allocations: 62.53 kB / 1.194 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/1.127, allocations: 179.2 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/1.127, allocations: 385.3 kB / 1.194 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/1.127, allocations: 28.59 kB / 1.194 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/1.127, allocations: 31.98 kB / 1.195 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000661/1.128, allocations: 365.2 kB / 1.195 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.128, allocations: 3.938 kB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/1.128, allocations: 12 kB / 1.195 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.971e-05/1.128, allocations: 19.92 kB / 1.195 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/1.129, allocations: 254 kB / 1.195 GB, free: 11.27 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.00197/1.131, allocations: 1.667 MB / 1.197 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003961/1.131, allocations: 202.5 kB / 1.197 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/1.131, allocations: 116.8 kB / 1.197 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.133, allocations: 0.874 MB / 1.198 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.133, allocations: 38.5 kB / 1.198 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/1.133, allocations: 3.938 kB / 1.198 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of matching and sorting (n=23): time 0.000946/1.134, allocations: 354.5 kB / 1.198 GB, free: 7.676 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/1.134, allocations: 59.52 kB / 1.198 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004799/1.134, allocations: 421.9 kB / 1.199 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/1.134, allocations: 33.7 kB / 1.199 GB, free: 7.152 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/1.134, allocations: 216.2 kB / 1.199 GB, free: 6.938 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.388e-05/1.134, allocations: 82.75 kB / 1.199 GB, free: 6.855 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.95e-05/1.135, allocations: 53.7 kB / 1.199 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001573/1.135, allocations: 350.7 kB / 1.199 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/1.135, allocations: 87.94 kB / 1.2 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/1.135, allocations: 120.5 kB / 1.2 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/1.136, allocations: 203.4 kB / 1.2 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.136, allocations: 4.031 kB / 1.2 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005159/1.136, allocations: 283.4 kB / 1.2 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/1.136, allocations: 6.031 kB / 1.2 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.136, allocations: 4 kB / 1.2 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.136, allocations: 0 / 1.2 GB, free: 5.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/1.136, allocations: 55.91 kB / 1.2 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/1.136, allocations: 7.938 kB / 1.2 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/1.137, allocations: 43.61 kB / 1.2 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/1.137, allocations: 8 kB / 1.2 GB, free: 5.613 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.0001868/1.137, allocations: 165.8 kB / 1.2 GB, free: 5.441 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.507e-05/1.137, allocations: 43.52 kB / 1.2 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/1.138, allocations: 281.2 kB / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.138, allocations: 0 / 1.201 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.138, allocations: 3.938 kB / 1.201 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.138, allocations: 3.984 kB / 1.201 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/1.139, allocations: 0.8151 MB / 1.202 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.139, allocations: 4 kB / 1.202 GB, free: 4.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002276/1.139, allocations: 47.91 kB / 1.202 GB, free: 4.164 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/1.139, allocations: 4 kB / 1.202 GB, free: 4.16 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/1.139, allocations: 8 kB / 1.202 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/1.139, allocations: 8 kB / 1.202 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.139, allocations: 0 / 1.202 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008031/1.14, allocations: 0.5061 MB / 1.202 GB, free: 3.605 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001632/1.14, allocations: 148.5 kB / 1.202 GB, free: 3.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.655e-05/1.14, allocations: 8 kB / 1.202 GB, free: 3.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/1.141, allocations: 23.97 kB / 1.202 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.265e-05/1.141, allocations: 23.97 kB / 1.202 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/1.141, allocations: 15.88 kB / 1.202 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003254/1.141, allocations: 303.1 kB / 1.203 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/1.141, allocations: 0 / 1.203 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004866/1.141, allocations: 123.8 kB / 1.203 GB, free: 2.957 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.001558/1.143, allocations: 1.133 MB / 1.204 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005108/1.144, allocations: 200.8 kB / 1.204 GB, free: 1.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.144, allocations: 4.062 kB / 1.204 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002227/1.144, allocations: 113.1 kB / 1.204 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/1.145, allocations: 217.5 kB / 1.204 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/1.15, allocations: 3.849 MB / 1.208 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/1.151, allocations: 0.8347 MB / 1.209 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.00037/1.151, allocations: 83.34 kB / 1.209 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/1.151, allocations: 135.4 kB / 1.209 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of SimCode: time 1.483e-06/1.151, allocations: 3.938 kB / 1.209 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/1.182, allocations: 11.5 MB / 1.22 GB, free: 0.9414 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/1.183, allocations: 237.4 kB / 1.221 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/3.556, allocations: 4 kB / 1.221 GB, free: 0.6797 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