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.003909/0.003909, allocations: 96.72 kB / 15.73 MB, free: 6 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.001092/0.001092, allocations: 186.2 kB / 16.67 MB, free: 5.93 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.232/1.232, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.349/2.349, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 75.81 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2342, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.6068/0.841, allocations: 173.8 MB / 1.336 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003397/0.8445, allocations: 2.306 MB / 1.338 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.8447, allocations: 16.28 kB / 1.338 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.8453, allocations: 224.9 kB / 1.338 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.8471, allocations: 0.9345 MB / 1.339 GB, free: 12.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001601/0.8487, allocations: 0.8295 MB / 1.34 GB, free: 12 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009327/0.8496, allocations: 0.9713 MB / 1.341 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/0.85, allocations: 333.5 kB / 1.341 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005394/0.8506, allocations: 453.4 kB / 1.342 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.8509, allocations: 312.7 kB / 1.342 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.851, allocations: 32.81 kB / 1.342 GB, free: 11.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.8523, allocations: 0.9907 MB / 1.343 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.8525, allocations: 150.4 kB / 1.343 GB, free: 10.62 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.8527, allocations: 239.4 kB / 1.343 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.8537, allocations: 0.8997 MB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.8537, allocations: 1.125 kB / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8537, allocations: 0 / 1.344 GB, free: 10.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.8537, allocations: 0 / 1.344 GB, free: 10.18 MB / 1.029 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.001089/0.8548, allocations: 0.8263 MB / 1.345 GB, free: 9.535 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.036e-05/0.8549, allocations: 10.28 kB / 1.345 GB, free: 9.535 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.786e-05/0.855, allocations: 63.44 kB / 1.345 GB, free: 9.48 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.856, allocations: 188.5 kB / 1.345 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000539/0.8566, allocations: 395.2 kB / 1.346 GB, free: 9.121 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.8566, allocations: 21.19 kB / 1.346 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/0.8567, allocations: 28.78 kB / 1.346 GB, free: 9.105 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.8572, allocations: 378.3 kB / 1.346 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.8572, allocations: 1.125 kB / 1.346 GB, free: 8.906 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.8573, allocations: 11.12 kB / 1.346 GB, free: 8.898 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/0.8573, allocations: 13.88 kB / 1.346 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004581/0.8578, allocations: 263.6 kB / 1.346 GB, free: 8.816 MB / 1.029 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.001602/0.8594, allocations: 1.667 MB / 1.348 GB, free: 7.461 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003419/0.8597, allocations: 213.3 kB / 1.348 GB, free: 7.367 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001917/0.8599, allocations: 118.8 kB / 1.348 GB, free: 7.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009405/0.8609, allocations: 0.8675 MB / 1.349 GB, free: 6.379 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.8609, allocations: 36.78 kB / 1.349 GB, free: 6.336 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 5.199e-06/0.8609, allocations: 3.984 kB / 1.349 GB, free: 6.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0007912/0.8617, allocations: 360.5 kB / 1.35 GB, free: 6.195 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.8618, allocations: 53.56 kB / 1.35 GB, free: 6.133 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.8622, allocations: 423.5 kB / 1.35 GB, free: 5.934 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.8622, allocations: 31.3 kB / 1.35 GB, free: 5.898 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.8624, allocations: 214.4 kB / 1.35 GB, free: 5.719 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/0.8624, allocations: 87.97 kB / 1.35 GB, free: 5.648 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.498e-05/0.8625, allocations: 51.05 kB / 1.35 GB, free: 5.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.8627, allocations: 354.6 kB / 1.351 GB, free: 5.285 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.8628, allocations: 83.03 kB / 1.351 GB, free: 5.258 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.863, allocations: 121.7 kB / 1.351 GB, free: 5.199 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.8634, allocations: 206.6 kB / 1.351 GB, free: 5.102 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8634, allocations: 7.578 kB / 1.351 GB, free: 5.098 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000476/0.8639, allocations: 276.4 kB / 1.351 GB, free: 4.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.8639, allocations: 7 kB / 1.351 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.8639, allocations: 2.156 kB / 1.351 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.864, allocations: 1.156 kB / 1.351 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002088/0.8642, allocations: 57.72 kB / 1.352 GB, free: 4.973 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.8642, allocations: 5.938 kB / 1.352 GB, free: 4.969 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.8644, allocations: 38.72 kB / 1.352 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.8644, allocations: 9.625 kB / 1.352 GB, free: 4.941 MB / 1.029 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.0001456/0.8646, allocations: 163 kB / 1.352 GB, free: 4.801 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.8646, allocations: 44.91 kB / 1.352 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005329/0.8652, allocations: 291.4 kB / 1.352 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.8652, allocations: 2.125 kB / 1.352 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.8652, allocations: 1 kB / 1.352 GB, free: 4.652 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.8652, allocations: 7.938 kB / 1.352 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.8663, allocations: 0.8117 MB / 1.353 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.8663, allocations: 0.8438 kB / 1.353 GB, free: 4.117 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.8665, allocations: 45.73 kB / 1.353 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.8665, allocations: 3.281 kB / 1.353 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.8665, allocations: 9.969 kB / 1.353 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.8665, allocations: 7.188 kB / 1.353 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.8666, allocations: 2.156 kB / 1.353 GB, free: 4.105 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007165/0.8673, allocations: 0.5087 MB / 1.353 GB, free: 3.789 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.8674, allocations: 148.1 kB / 1.354 GB, free: 3.656 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.177e-05/0.8675, allocations: 9.828 kB / 1.354 GB, free: 3.652 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.8677, allocations: 14.28 kB / 1.354 GB, free: 3.648 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.8678, allocations: 23.03 kB / 1.354 GB, free: 3.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.8678, allocations: 7.75 kB / 1.354 GB, free: 3.641 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002851/0.8681, allocations: 309 kB / 1.354 GB, free: 3.492 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8681, allocations: 0 / 1.354 GB, free: 3.492 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000365/0.8685, allocations: 115.2 kB / 1.354 GB, free: 3.473 MB / 1.029 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.001233/0.8697, allocations: 1.136 MB / 1.355 GB, free: 2.598 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.8701, allocations: 207.8 kB / 1.355 GB, free: 2.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.8701, allocations: 1.562 kB / 1.355 GB, free: 2.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.8704, allocations: 114.4 kB / 1.355 GB, free: 2.508 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009705/0.8713, allocations: 232.3 kB / 1.356 GB, free: 2.438 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.8756, allocations: 3.693 MB / 1.359 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.876, allocations: 0.8292 MB / 1.36 GB, free: 15.46 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.8762, allocations: 86.44 kB / 1.36 GB, free: 15.44 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.8764, allocations: 135.5 kB / 1.36 GB, free: 15.34 MB / 1.045 GB Notification: Performance of SimCode: time 2.2e-07/0.8764, allocations: 0 / 1.36 GB, free: 15.34 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.702/6.579, allocations: 12.1 MB / 1.372 GB, free: 10.09 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.84/23.42, allocations: 7.938 kB / 1.372 GB, free: 10.09 MB / 1.045 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=400 --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