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: translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ori.V_flow|ori.dp|ori.v",fileNamePrefix="Buildings_10_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_10_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.001737/0.001738, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.002/0.002, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.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.432/2.432, allocations: 437 MB / 0.7112 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 63.89 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9548/0.9563, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2005/1.157, allocations: 173.8 MB / 1.337 GB, free: 5.301 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00435/1.161, allocations: 2.294 MB / 1.339 GB, free: 3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007208/1.162, allocations: 15.94 kB / 1.339 GB, free: 2.984 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.163, allocations: 226.4 kB / 1.34 GB, free: 2.762 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002846/1.166, allocations: 0.9801 MB / 1.34 GB, free: 1.777 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002468/1.169, allocations: 0.8383 MB / 1.341 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001648/1.17, allocations: 0.9739 MB / 1.342 GB, free: 15.96 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007371/1.171, allocations: 322.9 kB / 1.343 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/1.172, allocations: 470.3 kB / 1.343 GB, free: 15.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006298/1.173, allocations: 310.7 kB / 1.343 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/1.173, allocations: 32 kB / 1.343 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/1.175, allocations: 0.9937 MB / 1.344 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002592/1.175, allocations: 147.5 kB / 1.344 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004316/1.176, allocations: 242.8 kB / 1.345 GB, free: 13.47 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00197/1.178, allocations: 0.9017 MB / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.178, allocations: 0 / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.372e-06/1.178, allocations: 0 / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.228e-05/1.178, allocations: 0 / 1.346 GB, free: 12.57 MB / 1.076 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.001695/1.179, allocations: 0.8138 MB / 1.346 GB, free: 11.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/1.179, allocations: 8.625 kB / 1.346 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/1.181, allocations: 187.1 kB / 1.347 GB, free: 11.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008319/1.182, allocations: 385.4 kB / 1.347 GB, free: 11.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.182, allocations: 20.66 kB / 1.347 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/1.182, allocations: 39.91 kB / 1.347 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006831/1.182, allocations: 365.1 kB / 1.347 GB, free: 10.65 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/1.182, allocations: 4 kB / 1.347 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/1.183, allocations: 12 kB / 1.347 GB, free: 10.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/1.183, allocations: 19.94 kB / 1.347 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/1.183, allocations: 258 kB / 1.348 GB, free: 10.36 MB / 1.076 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.002165/1.185, allocations: 1.675 MB / 1.349 GB, free: 8.551 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/1.186, allocations: 202.5 kB / 1.349 GB, free: 8.344 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/1.186, allocations: 112.9 kB / 1.35 GB, free: 8.23 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/1.187, allocations: 0.8739 MB / 1.35 GB, free: 7.172 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/1.187, allocations: 42.55 kB / 1.35 GB, free: 7.121 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/1.187, allocations: 0 / 1.35 GB, free: 7.121 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.001/1.188, allocations: 355 kB / 1.351 GB, free: 6.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/1.188, allocations: 63.39 kB / 1.351 GB, free: 6.695 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/1.189, allocations: 418 kB / 1.351 GB, free: 6.277 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.288e-05/1.189, allocations: 29.7 kB / 1.351 GB, free: 6.242 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/1.189, allocations: 212.3 kB / 1.351 GB, free: 6.031 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/1.189, allocations: 82.77 kB / 1.352 GB, free: 5.949 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/1.189, allocations: 49.7 kB / 1.352 GB, free: 5.895 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.189, allocations: 358.7 kB / 1.352 GB, free: 5.535 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/1.19, allocations: 75.95 kB / 1.352 GB, free: 5.461 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/1.19, allocations: 123.4 kB / 1.352 GB, free: 5.328 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000401/1.19, allocations: 209.8 kB / 1.352 GB, free: 5.113 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.19, allocations: 0 / 1.352 GB, free: 5.113 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005697/1.191, allocations: 285.6 kB / 1.353 GB, free: 4.828 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.191, allocations: 8 kB / 1.353 GB, free: 4.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.191, allocations: 0 / 1.353 GB, free: 4.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.191, allocations: 4.031 kB / 1.353 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/1.191, allocations: 47.97 kB / 1.353 GB, free: 4.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/1.191, allocations: 11.88 kB / 1.353 GB, free: 4.758 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/1.191, allocations: 31.67 kB / 1.353 GB, free: 4.727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/1.191, allocations: 12 kB / 1.353 GB, free: 4.715 MB / 1.076 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.0001807/1.192, allocations: 157.8 kB / 1.353 GB, free: 4.551 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-05/1.192, allocations: 39.53 kB / 1.353 GB, free: 4.512 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005978/1.192, allocations: 293.2 kB / 1.353 GB, free: 4.219 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.192, allocations: 3.984 kB / 1.353 GB, free: 4.215 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.192, allocations: 3.938 kB / 1.353 GB, free: 4.211 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/1.192, allocations: 11.92 kB / 1.353 GB, free: 4.199 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/1.194, allocations: 0.8137 MB / 1.354 GB, free: 3.312 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.194, allocations: 4 kB / 1.354 GB, free: 3.309 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/1.194, allocations: 39.92 kB / 1.354 GB, free: 3.27 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/1.194, allocations: 4 kB / 1.354 GB, free: 3.266 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/1.194, allocations: 11.98 kB / 1.354 GB, free: 3.254 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/1.194, allocations: 4 kB / 1.354 GB, free: 3.25 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.194, allocations: 192 / 1.354 GB, free: 3.25 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008288/1.195, allocations: 0.5177 MB / 1.355 GB, free: 2.699 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/1.195, allocations: 144.6 kB / 1.355 GB, free: 2.539 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/1.195, allocations: 8 kB / 1.355 GB, free: 2.531 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002807/1.195, allocations: 15.98 kB / 1.355 GB, free: 2.516 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.265e-05/1.196, allocations: 15.97 kB / 1.355 GB, free: 2.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/1.196, allocations: 15.94 kB / 1.355 GB, free: 2.484 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003394/1.196, allocations: 303.1 kB / 1.355 GB, free: 2.191 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/1.196, allocations: 0 / 1.355 GB, free: 2.191 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004942/1.196, allocations: 111.8 kB / 1.355 GB, free: 2.082 MB / 1.076 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.0004962/1.197, allocations: 192 kB / 1.355 GB, free: 1.895 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005437/1.197, allocations: 208.9 kB / 1.355 GB, free: 1.691 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.197, allocations: 0 / 1.355 GB, free: 1.691 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/1.198, allocations: 114.9 kB / 1.356 GB, free: 1.582 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.199, allocations: 230.4 kB / 1.356 GB, free: 1.359 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/1.201, allocations: 0.9281 MB / 1.357 GB, free: 384 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005543/1.201, allocations: 0.8194 MB / 1.358 GB, free: 15.53 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/1.201, allocations: 39.44 kB / 1.358 GB, free: 15.49 MB / 1.092 GB Notification: Performance of SimCode: time 2.71e-07/1.201, allocations: 0 / 1.358 GB, free: 15.49 MB / 1.092 GB Notification: Performance of Templates: time 0.01158/1.213, allocations: 6.619 MB / 1.364 GB, free: 8.949 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.makefile (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 & ./Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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