Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00737/0.00737, allocations: 98.73 kB / 15.73 MB, free: 6.012 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.001751/0.001751, allocations: 193.4 kB / 16.67 MB, free: 5.926 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.117 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.667/2.667, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 64.11 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2888, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.7751/1.064, allocations: 174.3 MB / 1.391 GB, free: 13.22 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004079/1.068, allocations: 2.307 MB / 1.393 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006642/1.069, allocations: 12.72 kB / 1.393 GB, free: 11.34 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000951/1.07, allocations: 241.6 kB / 1.393 GB, free: 11.14 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002709/1.072, allocations: 0.9737 MB / 1.394 GB, free: 10.4 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/1.075, allocations: 0.8334 MB / 1.395 GB, free: 9.797 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001371/1.076, allocations: 0.961 MB / 1.396 GB, free: 9.246 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004836/1.076, allocations: 286.6 kB / 1.396 GB, free: 9.055 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008158/1.077, allocations: 462.7 kB / 1.397 GB, free: 8.801 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004176/1.078, allocations: 315.5 kB / 1.397 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 6.051e-05/1.078, allocations: 33.31 kB / 1.397 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002/1.08, allocations: 0.9976 MB / 1.398 GB, free: 8.051 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/1.08, allocations: 151.9 kB / 1.398 GB, free: 7.945 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002261/1.08, allocations: 239.8 kB / 1.398 GB, free: 7.797 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001263/1.081, allocations: 0.8999 MB / 1.399 GB, free: 7.258 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/1.081, allocations: 5.469 kB / 1.399 GB, free: 7.254 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.102e-06/1.081, allocations: 0 / 1.399 GB, free: 7.254 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.307e-06/1.081, allocations: 0 / 1.399 GB, free: 7.254 MB / 1.092 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.00118/1.083, allocations: 0.82 MB / 1.4 GB, free: 6.555 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/1.083, allocations: 12.78 kB / 1.4 GB, free: 6.551 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/1.084, allocations: 179.5 kB / 1.4 GB, free: 6.465 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/1.085, allocations: 392.1 kB / 1.401 GB, free: 6.121 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/1.085, allocations: 24.69 kB / 1.401 GB, free: 6.109 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.208e-05/1.085, allocations: 32.86 kB / 1.401 GB, free: 6.098 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000598/1.085, allocations: 379.6 kB / 1.401 GB, free: 5.84 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/1.085, allocations: 1.844 kB / 1.401 GB, free: 5.84 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/1.085, allocations: 19.34 kB / 1.401 GB, free: 5.824 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/1.085, allocations: 13.84 kB / 1.401 GB, free: 5.82 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/1.086, allocations: 263.3 kB / 1.401 GB, free: 5.699 MB / 1.092 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.001748/1.087, allocations: 1.678 MB / 1.403 GB, free: 4.148 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/1.088, allocations: 192.4 kB / 1.403 GB, free: 4.051 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002179/1.088, allocations: 108.3 kB / 1.403 GB, free: 3.996 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009663/1.089, allocations: 0.8655 MB / 1.404 GB, free: 3.02 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/1.089, allocations: 43.77 kB / 1.404 GB, free: 2.969 MB / 1.092 GB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/1.089, allocations: 0 / 1.404 GB, free: 2.969 MB / 1.092 GB Notification: Performance of matching and sorting (n=23): time 0.0009227/1.09, allocations: 353.8 kB / 1.404 GB, free: 2.797 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/1.09, allocations: 53.78 kB / 1.405 GB, free: 2.734 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/1.091, allocations: 428.4 kB / 1.405 GB, free: 2.473 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/1.091, allocations: 30.86 kB / 1.405 GB, free: 2.438 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001716/1.091, allocations: 214.7 kB / 1.405 GB, free: 2.242 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/1.091, allocations: 84.22 kB / 1.405 GB, free: 2.168 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.467e-05/1.091, allocations: 50.7 kB / 1.405 GB, free: 2.133 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.091, allocations: 356.4 kB / 1.406 GB, free: 1.785 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/1.091, allocations: 78.56 kB / 1.406 GB, free: 1.75 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/1.092, allocations: 127.1 kB / 1.406 GB, free: 1.668 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/1.092, allocations: 210 kB / 1.406 GB, free: 1.547 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.092, allocations: 1.938 kB / 1.406 GB, free: 1.547 MB / 1.092 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005324/1.092, allocations: 289.5 kB / 1.406 GB, free: 1.391 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.092, allocations: 9.906 kB / 1.406 GB, free: 1.387 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.092, allocations: 1.188 kB / 1.406 GB, free: 1.387 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/1.092, allocations: 1.375 kB / 1.406 GB, free: 1.387 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002424/1.093, allocations: 52.88 kB / 1.406 GB, free: 1.375 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/1.093, allocations: 2.344 kB / 1.406 GB, free: 1.375 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/1.093, allocations: 34.11 kB / 1.406 GB, free: 1.352 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/1.093, allocations: 19.3 kB / 1.406 GB, free: 1.34 MB / 1.092 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.0001623/1.093, allocations: 161.9 kB / 1.407 GB, free: 1.195 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.504e-05/1.093, allocations: 48.69 kB / 1.407 GB, free: 1.168 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005619/1.094, allocations: 289.5 kB / 1.407 GB, free: 1 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/1.094, allocations: 6 kB / 1.407 GB, free: 1 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.094, allocations: 1.094 kB / 1.407 GB, free: 1 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/1.094, allocations: 3.938 kB / 1.407 GB, free: 0.9961 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/1.095, allocations: 0.8067 MB / 1.408 GB, free: 356 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.095, allocations: 5.312 kB / 1.408 GB, free: 352 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/1.095, allocations: 46.28 kB / 1.408 GB, free: 340 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.095, allocations: 2.938 kB / 1.408 GB, free: 340 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/1.095, allocations: 12.12 kB / 1.408 GB, free: 332 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.095, allocations: 6.688 kB / 1.408 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.095, allocations: 2.75 kB / 1.408 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/1.096, allocations: 0.5132 MB / 1.408 GB, free: 15.95 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/1.096, allocations: 144.5 kB / 1.408 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.075e-05/1.096, allocations: 6.625 kB / 1.408 GB, free: 15.81 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/1.097, allocations: 11.95 kB / 1.408 GB, free: 15.8 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/1.097, allocations: 21.39 kB / 1.408 GB, free: 15.79 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.988e-05/1.097, allocations: 10.77 kB / 1.408 GB, free: 15.79 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0003049/1.097, allocations: 304.2 kB / 1.409 GB, free: 15.6 MB / 1.107 GB Notification: Performance of sort global known variables: time 9.1e-08/1.097, allocations: 0 / 1.409 GB, free: 15.6 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004472/1.097, allocations: 117.3 kB / 1.409 GB, free: 15.58 MB / 1.107 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.0003773/1.098, allocations: 192.4 kB / 1.409 GB, free: 15.45 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.000456/1.098, allocations: 211.8 kB / 1.409 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.098, allocations: 1.344 kB / 1.409 GB, free: 15.36 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002216/1.098, allocations: 110.8 kB / 1.409 GB, free: 15.31 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.099, allocations: 219.7 kB / 1.41 GB, free: 15.2 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/1.101, allocations: 0.9202 MB / 1.41 GB, free: 14.54 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/1.101, allocations: 0.8176 MB / 1.411 GB, free: 13.79 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002349/1.101, allocations: 90.55 kB / 1.411 GB, free: 13.74 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/1.102, allocations: 35.22 kB / 1.411 GB, free: 13.73 MB / 1.107 GB Notification: Performance of SimCode: time 3.91e-07/1.102, allocations: 3.938 kB / 1.411 GB, free: 13.73 MB / 1.107 GB Notification: Performance of Templates: time 0.01325/1.115, allocations: 8.114 MB / 1.419 GB, free: 9.203 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_Orifice.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches