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.007432/0.007432, allocations: 102.8 kB / 15.74 MB, free: 6.039 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.001748/0.001748, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.565/2.565, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3021, allocations: 151.6 MB / 1.167 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7756/1.078, allocations: 173.8 MB / 1.336 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003901/1.082, allocations: 2.3 MB / 1.339 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004469/1.082, allocations: 12.91 kB / 1.339 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007207/1.083, allocations: 233.4 kB / 1.339 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002509/1.085, allocations: 0.93 MB / 1.34 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/1.088, allocations: 0.827 MB / 1.341 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0012/1.089, allocations: 0.9683 MB / 1.341 GB, free: 11.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004995/1.089, allocations: 323.9 kB / 1.342 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008519/1.09, allocations: 454.4 kB / 1.342 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004296/1.091, allocations: 318.9 kB / 1.343 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/1.091, allocations: 33.06 kB / 1.343 GB, free: 11.24 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/1.093, allocations: 0.9861 MB / 1.344 GB, free: 10.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/1.093, allocations: 151.8 kB / 1.344 GB, free: 10.78 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/1.093, allocations: 233.4 kB / 1.344 GB, free: 10.65 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00136/1.095, allocations: 0.9116 MB / 1.345 GB, free: 10.34 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/1.095, allocations: 0 / 1.345 GB, free: 10.34 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/1.095, allocations: 0 / 1.345 GB, free: 10.34 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.182e-05/1.095, allocations: 5.25 kB / 1.345 GB, free: 10.33 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.001303/1.096, allocations: 0.8178 MB / 1.346 GB, free: 9.691 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.096, allocations: 9.75 kB / 1.346 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/1.097, allocations: 189.3 kB / 1.346 GB, free: 9.641 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/1.098, allocations: 387.6 kB / 1.346 GB, free: 9.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/1.098, allocations: 24.06 kB / 1.346 GB, free: 9.328 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/1.098, allocations: 28.84 kB / 1.346 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/1.099, allocations: 370.4 kB / 1.347 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.099, allocations: 1.375 kB / 1.347 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.239e-05/1.099, allocations: 18.56 kB / 1.347 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/1.099, allocations: 12.56 kB / 1.347 GB, free: 9.113 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005062/1.099, allocations: 260.2 kB / 1.347 GB, free: 9.035 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.001752/1.101, allocations: 1.674 MB / 1.348 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003904/1.101, allocations: 205.4 kB / 1.349 GB, free: 7.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/1.102, allocations: 116.3 kB / 1.349 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009663/1.103, allocations: 0.8712 MB / 1.35 GB, free: 6.602 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.103, allocations: 39.78 kB / 1.35 GB, free: 6.555 MB / 1.029 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/1.103, allocations: 3.938 kB / 1.35 GB, free: 6.551 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.0009335/1.104, allocations: 355.1 kB / 1.35 GB, free: 6.418 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/1.104, allocations: 54.84 kB / 1.35 GB, free: 6.355 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004549/1.104, allocations: 422.5 kB / 1.35 GB, free: 6.156 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.104, allocations: 31.05 kB / 1.35 GB, free: 6.121 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/1.104, allocations: 212 kB / 1.351 GB, free: 5.945 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.155e-05/1.104, allocations: 91.95 kB / 1.351 GB, free: 5.871 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.116e-05/1.104, allocations: 53.66 kB / 1.351 GB, free: 5.836 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.105, allocations: 354.6 kB / 1.351 GB, free: 5.504 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/1.105, allocations: 79.27 kB / 1.351 GB, free: 5.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/1.105, allocations: 125 kB / 1.351 GB, free: 5.422 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/1.105, allocations: 217.2 kB / 1.352 GB, free: 5.316 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/1.105, allocations: 0 / 1.352 GB, free: 5.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005403/1.106, allocations: 280.6 kB / 1.352 GB, free: 5.195 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/1.106, allocations: 5.656 kB / 1.352 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.106, allocations: 1.094 kB / 1.352 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.106, allocations: 6.156 kB / 1.352 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/1.106, allocations: 57.33 kB / 1.352 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/1.106, allocations: 2.25 kB / 1.352 GB, free: 5.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/1.107, allocations: 35.72 kB / 1.352 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/1.107, allocations: 7.75 kB / 1.352 GB, free: 5.16 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.0001609/1.107, allocations: 163.8 kB / 1.352 GB, free: 5.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/1.107, allocations: 43.75 kB / 1.352 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006111/1.107, allocations: 289.6 kB / 1.352 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/1.107, allocations: 2.625 kB / 1.352 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/1.107, allocations: 0 / 1.352 GB, free: 4.871 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.107, allocations: 6.516 kB / 1.352 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/1.109, allocations: 0.8076 MB / 1.353 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/1.109, allocations: 6.5 kB / 1.353 GB, free: 4.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002246/1.109, allocations: 48.84 kB / 1.353 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.109, allocations: 3.281 kB / 1.353 GB, free: 4.332 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/1.109, allocations: 7.406 kB / 1.353 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.109, allocations: 4.75 kB / 1.353 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.109, allocations: 9.203 kB / 1.353 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/1.11, allocations: 0.5086 MB / 1.354 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/1.11, allocations: 151.8 kB / 1.354 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.764e-05/1.11, allocations: 3.344 kB / 1.354 GB, free: 3.871 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/1.11, allocations: 17.27 kB / 1.354 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/1.11, allocations: 19.81 kB / 1.354 GB, free: 3.863 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/1.11, allocations: 10.88 kB / 1.354 GB, free: 3.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003206/1.111, allocations: 305.1 kB / 1.354 GB, free: 3.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/1.111, allocations: 0 / 1.354 GB, free: 3.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004538/1.111, allocations: 117.4 kB / 1.354 GB, free: 3.691 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.0004003/1.112, allocations: 203.2 kB / 1.355 GB, free: 3.562 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004899/1.112, allocations: 207.6 kB / 1.355 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.112, allocations: 1.156 kB / 1.355 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/1.112, allocations: 118 kB / 1.355 GB, free: 3.469 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/1.113, allocations: 211.6 kB / 1.355 GB, free: 3.41 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/1.115, allocations: 0.9282 MB / 1.356 GB, free: 2.801 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/1.115, allocations: 0.8203 MB / 1.357 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002588/1.116, allocations: 83.17 kB / 1.357 GB, free: 2.078 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/1.116, allocations: 32.84 kB / 1.357 GB, free: 2.07 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/1.116, allocations: 0 / 1.357 GB, free: 2.07 MB / 1.029 GB Notification: Performance of Templates: time 0.01499/1.131, allocations: 8.084 MB / 1.365 GB, free: 15.04 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches