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.001146/0.001146, allocations: 107.9 kB / 16.41 MB, free: 6.5 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.001297/0.001297, allocations: 194.5 kB / 17.35 MB, free: 5.762 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.295/1.295, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 461.7 MB / 0.7352 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 59.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9908/0.9921, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.1922/1.184, allocations: 173.8 MB / 1.378 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.00468/1.189, allocations: 2.295 MB / 1.38 GB, free: 12.82 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007904/1.19, allocations: 15.88 kB / 1.38 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009823/1.191, allocations: 226.4 kB / 1.38 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003299/1.194, allocations: 0.9333 MB / 1.381 GB, free: 11.64 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002854/1.197, allocations: 0.8275 MB / 1.382 GB, free: 10.82 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001743/1.199, allocations: 0.9662 MB / 1.383 GB, free: 9.848 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007069/1.2, allocations: 327.5 kB / 1.383 GB, free: 9.527 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/1.201, allocations: 458.2 kB / 1.384 GB, free: 9.078 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007729/1.202, allocations: 314.7 kB / 1.384 GB, free: 8.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001234/1.202, allocations: 32 kB / 1.384 GB, free: 8.738 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/1.204, allocations: 0.9937 MB / 1.385 GB, free: 7.742 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002571/1.205, allocations: 151.5 kB / 1.385 GB, free: 7.594 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004035/1.205, allocations: 238.8 kB / 1.385 GB, free: 7.359 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/1.207, allocations: 0.8979 MB / 1.386 GB, free: 6.461 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.207, allocations: 0 / 1.386 GB, free: 6.461 MB / 1.107 GB Notification: Performance of FrontEnd: time 4.739e-06/1.207, allocations: 4 kB / 1.386 GB, free: 6.457 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.352e-05/1.207, allocations: 0 / 1.386 GB, free: 6.457 MB / 1.107 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.001766/1.209, allocations: 0.806 MB / 1.387 GB, free: 5.602 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/1.209, allocations: 8.031 kB / 1.387 GB, free: 5.594 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.211, allocations: 187.1 kB / 1.387 GB, free: 5.41 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/1.211, allocations: 389.4 kB / 1.388 GB, free: 4.988 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/1.211, allocations: 24.66 kB / 1.388 GB, free: 4.965 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.744e-05/1.211, allocations: 31.91 kB / 1.388 GB, free: 4.934 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/1.212, allocations: 373.1 kB / 1.388 GB, free: 4.535 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/1.212, allocations: 0 / 1.388 GB, free: 4.535 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/1.212, allocations: 16 kB / 1.388 GB, free: 4.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.219e-05/1.212, allocations: 11.94 kB / 1.388 GB, free: 4.508 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005739/1.213, allocations: 262 kB / 1.388 GB, free: 4.254 MB / 1.107 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.002176/1.215, allocations: 1.668 MB / 1.39 GB, free: 2.449 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/1.216, allocations: 202.5 kB / 1.39 GB, free: 2.242 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002189/1.216, allocations: 123.2 kB / 1.39 GB, free: 2.121 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/1.217, allocations: 0.8741 MB / 1.391 GB, free: 1.062 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.217, allocations: 34.5 kB / 1.391 GB, free: 1.02 MB / 1.107 GB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/1.217, allocations: 0 / 1.391 GB, free: 1.02 MB / 1.107 GB Notification: Performance of matching and sorting (n=23): time 0.0009883/1.218, allocations: 360.7 kB / 1.392 GB, free: 0.6602 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/1.218, allocations: 55.41 kB / 1.392 GB, free: 0.5938 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/1.218, allocations: 429.9 kB / 1.392 GB, free: 168 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.876e-05/1.219, allocations: 25.7 kB / 1.392 GB, free: 136 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002238/1.219, allocations: 212.4 kB / 1.392 GB, free: 15.92 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.614e-05/1.219, allocations: 82.75 kB / 1.392 GB, free: 15.84 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.219, allocations: 49.7 kB / 1.392 GB, free: 15.78 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.219, allocations: 354.7 kB / 1.393 GB, free: 15.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/1.219, allocations: 75.94 kB / 1.393 GB, free: 15.35 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/1.22, allocations: 123.4 kB / 1.393 GB, free: 15.22 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/1.22, allocations: 212.8 kB / 1.393 GB, free: 15 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/1.22, allocations: 4 kB / 1.393 GB, free: 15 MB / 1.123 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005552/1.221, allocations: 287.8 kB / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/1.221, allocations: 4 kB / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/1.221, allocations: 0 / 1.393 GB, free: 14.71 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.221, allocations: 7.938 kB / 1.393 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/1.221, allocations: 51.91 kB / 1.393 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/1.221, allocations: 0 / 1.393 GB, free: 14.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/1.221, allocations: 39.61 kB / 1.393 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-05/1.221, allocations: 12 kB / 1.394 GB, free: 14.6 MB / 1.123 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.0001797/1.221, allocations: 161.8 kB / 1.394 GB, free: 14.43 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.794e-05/1.221, allocations: 43.53 kB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005783/1.222, allocations: 279 kB / 1.394 GB, free: 14.11 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/1.222, allocations: 3.938 kB / 1.394 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.222, allocations: 4 kB / 1.394 GB, free: 14.1 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/1.222, allocations: 152.4 kB / 1.394 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.099e-05/1.222, allocations: 4 kB / 1.394 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/1.223, allocations: 19.98 kB / 1.394 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.282e-05/1.223, allocations: 15.97 kB / 1.394 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006621/1.223, allocations: 327.2 kB / 1.394 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008135/1.224, allocations: 0.5526 MB / 1.395 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002144/1.224, allocations: 105.8 kB / 1.395 GB, free: 12.9 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0003202/1.225, allocations: 299.1 kB / 1.395 GB, free: 12.61 MB / 1.123 GB Notification: Performance of Backend: time 1.503e-06/1.225, allocations: 0 / 1.395 GB, free: 12.61 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00144/1.226, allocations: 444.9 kB / 1.396 GB, free: 12.18 MB / 1.123 GB Notification: Performance of SimCode: time 0.002107/1.228, allocations: 1.424 MB / 1.397 GB, free: 10.71 MB / 1.123 GB Notification: Performance of Templates: time 0.01823/1.246, allocations: 10.21 MB / 1.407 GB, free: 0.6211 MB / 1.123 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches