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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001128, allocations: 94.03 kB / 15.06 MB, free: 1.086 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.001341/0.001341, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.088/3.088, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.000425, allocations: 8.906 kB / 0.9021 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3948, allocations: 159.6 MB / 1.058 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1952/0.5901, allocations: 158 MB / 1.212 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004382/0.5945, allocations: 2.158 MB / 1.214 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.5953, allocations: 15.88 kB / 1.214 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008923/0.5962, allocations: 154.9 kB / 1.215 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002582/0.5988, allocations: 0.6841 MB / 1.215 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.6008, allocations: 0.5991 MB / 1.216 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.6026, allocations: 1.138 MB / 1.217 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005423/0.6031, allocations: 253.5 kB / 1.217 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007932/0.6039, allocations: 414.3 kB / 1.218 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.6044, allocations: 298.8 kB / 1.218 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/0.6044, allocations: 20 kB / 1.218 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.606, allocations: 0.53 MB / 1.218 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.6062, allocations: 131.6 kB / 1.219 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.6064, allocations: 117.5 kB / 1.219 GB, free: 392 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008346/0.6072, allocations: 0.5534 MB / 1.219 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.6072, allocations: 0 / 1.219 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.6072, allocations: 0 / 1.219 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.6073, allocations: 0 / 1.219 GB, free: 15.83 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.001223/0.6085, allocations: 0.7322 MB / 1.22 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.6085, allocations: 8.031 kB / 1.22 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.6097, allocations: 183.2 kB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006165/0.6104, allocations: 361.7 kB / 1.22 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/0.6104, allocations: 20.66 kB / 1.22 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.901e-05/0.6105, allocations: 35.91 kB / 1.22 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000712/0.6112, allocations: 377.1 kB / 1.221 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.6112, allocations: 3.984 kB / 1.221 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.6113, allocations: 19.94 kB / 1.221 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.371e-05/0.6113, allocations: 8 kB / 1.221 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.6119, allocations: 269.9 kB / 1.221 GB, free: 13.71 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.002092/0.614, allocations: 1.675 MB / 1.223 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004133/0.6144, allocations: 210.4 kB / 1.223 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.6146, allocations: 116.8 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001151/0.6158, allocations: 0.8896 MB / 1.224 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.6158, allocations: 38.55 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 1.593e-06/0.6158, allocations: 0 / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.0009043/0.6167, allocations: 374.9 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.6168, allocations: 55.41 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004848/0.6173, allocations: 417.9 kB / 1.225 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.6173, allocations: 33.7 kB / 1.225 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.6175, allocations: 216.3 kB / 1.225 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.968e-05/0.6176, allocations: 78.75 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.443e-05/0.6176, allocations: 8 kB / 1.225 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001904/0.6178, allocations: 354.8 kB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.618, allocations: 79.95 kB / 1.226 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.6183, allocations: 132.1 kB / 1.226 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.6185, allocations: 105.2 kB / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6185, allocations: 0 / 1.226 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005154/0.619, allocations: 295.4 kB / 1.226 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.6191, allocations: 7.953 kB / 1.226 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6191, allocations: 4 kB / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.6191, allocations: 0 / 1.226 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.6193, allocations: 51.97 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/0.6194, allocations: 7.969 kB / 1.226 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.6196, allocations: 35.84 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.6197, allocations: 19.92 kB / 1.226 GB, free: 8.164 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001843/0.6199, allocations: 161.8 kB / 1.226 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.6199, allocations: 47.44 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005873/0.6205, allocations: 307.9 kB / 1.227 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.6205, allocations: 4 kB / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6205, allocations: 0 / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.6206, allocations: 0 / 1.227 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.6218, allocations: 0.823 MB / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.6218, allocations: 0 / 1.227 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/0.622, allocations: 47.91 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.622, allocations: 4 kB / 1.227 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.622, allocations: 8 kB / 1.228 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.622, allocations: 4 kB / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6221, allocations: 0 / 1.228 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.6228, allocations: 0.5195 MB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001625/0.623, allocations: 148.5 kB / 1.228 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.595e-05/0.6231, allocations: 8 kB / 1.228 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.6233, allocations: 31.91 kB / 1.228 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.6234, allocations: 15.98 kB / 1.228 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.6234, allocations: 12 kB / 1.228 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003296/0.6238, allocations: 299.1 kB / 1.229 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6238, allocations: 0 / 1.229 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004808/0.6242, allocations: 119.8 kB / 1.229 GB, free: 5.484 MB / 0.9825 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004404/0.6247, allocations: 195 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.6252, allocations: 215.8 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6252, allocations: 0 / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002203/0.6254, allocations: 124.2 kB / 1.229 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.6265, allocations: 216.8 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.6283, allocations: 1.082 MB / 1.23 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.6287, allocations: 0.8275 MB / 1.231 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003297/0.6291, allocations: 83.34 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.373e-05/0.6292, allocations: 31.44 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.6292, allocations: 0 / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of Templates: time 0.01536/0.6445, allocations: 7.415 MB / 1.239 GB, free: 11.38 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.makefile (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 & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches