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.001456/0.001456, allocations: 114.6 kB / 16.42 MB, free: 6.523 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.001618/0.001618, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.385/2.385, allocations: 437 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6504, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.164/0.8144, allocations: 173.8 MB / 1.337 GB, free: 5.309 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003581/0.818, allocations: 2.294 MB / 1.339 GB, free: 3.008 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004301/0.8184, allocations: 15.88 kB / 1.339 GB, free: 2.992 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.8191, allocations: 238.4 kB / 1.34 GB, free: 2.758 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002016/0.8212, allocations: 0.9723 MB / 1.34 GB, free: 1.781 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.8231, allocations: 0.838 MB / 1.341 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001147/0.8242, allocations: 0.9738 MB / 1.342 GB, free: 15.97 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000465/0.8247, allocations: 330.9 kB / 1.343 GB, free: 15.64 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006559/0.8254, allocations: 462.4 kB / 1.343 GB, free: 15.19 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003475/0.8257, allocations: 310.7 kB / 1.343 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.121e-05/0.8258, allocations: 36 kB / 1.343 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.8273, allocations: 0.9937 MB / 1.344 GB, free: 13.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001458/0.8274, allocations: 151.5 kB / 1.344 GB, free: 13.7 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002196/0.8277, allocations: 234.9 kB / 1.345 GB, free: 13.47 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.8288, allocations: 0.9078 MB / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8288, allocations: 0 / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8288, allocations: 0 / 1.346 GB, free: 12.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.8288, 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.001123/0.83, allocations: 0.8285 MB / 1.346 GB, free: 11.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.83, allocations: 8.922 kB / 1.346 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.8312, allocations: 187.4 kB / 1.347 GB, free: 11.49 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005814/0.8317, allocations: 389.8 kB / 1.347 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.8318, allocations: 20.66 kB / 1.347 GB, free: 11.05 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.8318, allocations: 36 kB / 1.347 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.8324, allocations: 373 kB / 1.347 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.8325, allocations: 0 / 1.347 GB, free: 10.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.8325, allocations: 12 kB / 1.347 GB, free: 10.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.8325, allocations: 19.94 kB / 1.347 GB, free: 10.59 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.833, allocations: 254 kB / 1.348 GB, free: 10.35 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.001689/0.8347, allocations: 1.68 MB / 1.349 GB, free: 8.531 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.8351, allocations: 206.5 kB / 1.349 GB, free: 8.32 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.8353, allocations: 108.9 kB / 1.35 GB, free: 8.211 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009601/0.8363, allocations: 0.8739 MB / 1.35 GB, free: 7.152 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.8364, allocations: 38.56 kB / 1.35 GB, free: 7.105 MB / 1.076 GB Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.8364, allocations: 0 / 1.35 GB, free: 7.105 MB / 1.076 GB Notification: Performance of matching and sorting (n=23): time 0.0008981/0.8373, allocations: 363.3 kB / 1.351 GB, free: 6.746 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.8373, allocations: 51.41 kB / 1.351 GB, free: 6.684 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004378/0.8377, allocations: 421.9 kB / 1.351 GB, free: 6.262 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.8378, allocations: 29.7 kB / 1.351 GB, free: 6.227 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.8379, allocations: 212.4 kB / 1.351 GB, free: 6.016 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.56e-05/0.838, allocations: 95.2 kB / 1.352 GB, free: 5.922 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.782e-05/0.8381, allocations: 57.64 kB / 1.352 GB, free: 5.859 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.8382, allocations: 350.7 kB / 1.352 GB, free: 5.508 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.8384, allocations: 79.94 kB / 1.352 GB, free: 5.43 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.8387, allocations: 119.4 kB / 1.352 GB, free: 5.301 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.839, allocations: 213.8 kB / 1.352 GB, free: 5.082 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.8391, allocations: 0 / 1.352 GB, free: 5.082 MB / 1.076 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000508/0.8396, allocations: 281.9 kB / 1.353 GB, free: 4.801 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8396, allocations: 8 kB / 1.353 GB, free: 4.793 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8396, allocations: 0 / 1.353 GB, free: 4.793 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.8396, allocations: 8.031 kB / 1.353 GB, free: 4.785 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/0.8399, allocations: 47.91 kB / 1.353 GB, free: 4.738 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.8399, allocations: 4 kB / 1.353 GB, free: 4.734 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002079/0.8401, allocations: 31.72 kB / 1.353 GB, free: 4.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.8401, allocations: 19.98 kB / 1.353 GB, free: 4.684 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.000153/0.8403, allocations: 161.8 kB / 1.353 GB, free: 4.516 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.8404, allocations: 43.72 kB / 1.353 GB, free: 4.473 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005649/0.8409, allocations: 291.6 kB / 1.353 GB, free: 4.184 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8409, allocations: 96 / 1.353 GB, free: 4.184 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.841, allocations: 3.984 kB / 1.353 GB, free: 4.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.8411, allocations: 152.7 kB / 1.353 GB, free: 4.012 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/0.8412, allocations: 4 kB / 1.353 GB, free: 4.008 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002463/0.8414, allocations: 11.98 kB / 1.353 GB, free: 3.996 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.8415, allocations: 19.92 kB / 1.353 GB, free: 3.977 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006457/0.8422, allocations: 336.6 kB / 1.354 GB, free: 3.641 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008071/0.843, allocations: 0.5546 MB / 1.354 GB, free: 3.074 MB / 1.076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001967/0.8432, allocations: 111.9 kB / 1.354 GB, free: 2.965 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000287/0.8435, allocations: 299.1 kB / 1.355 GB, free: 2.676 MB / 1.076 GB Notification: Performance of Backend: time 8.01e-07/0.8435, allocations: 3.938 kB / 1.355 GB, free: 2.672 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.8447, allocations: 432.8 kB / 1.355 GB, free: 2.254 MB / 1.076 GB Notification: Performance of SimCode: time 0.002043/0.8467, allocations: 1.443 MB / 1.356 GB, free: 0.7617 MB / 1.076 GB Notification: Performance of Templates: time 0.01733/0.8641, allocations: 10.25 MB / 1.366 GB, free: 6.629 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