Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 108.6 kB / 16.41 MB, free: 6.512 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.001458/0.001458, allocations: 192.3 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.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 469.4 MB / 0.7428 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 80.09 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9542/0.9556, allocations: 159.1 MB / 1.221 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1753/1.131, allocations: 161.5 MB / 1.379 GB, free: 248 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002919/1.134, allocations: 1.699 MB / 1.38 GB, free: 14.54 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/1.134, allocations: 15.88 kB / 1.38 GB, free: 14.52 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005851/1.135, allocations: 170.9 kB / 1.38 GB, free: 14.36 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001251/1.136, allocations: 0.5251 MB / 1.381 GB, free: 13.83 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001074/1.137, allocations: 430 kB / 1.381 GB, free: 13.41 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0007097/1.138, allocations: 0.5654 MB / 1.382 GB, free: 12.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003025/1.138, allocations: 180.4 kB / 1.382 GB, free: 12.66 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/1.139, allocations: 334.7 kB / 1.382 GB, free: 12.34 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/1.139, allocations: 151.3 kB / 1.383 GB, free: 12.19 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.527e-05/1.139, allocations: 12 kB / 1.383 GB, free: 12.18 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/1.14, allocations: 0.6977 MB / 1.383 GB, free: 11.48 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001199/1.14, allocations: 83.72 kB / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/1.14, allocations: 119.3 kB / 1.383 GB, free: 11.28 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0006926/1.141, allocations: 496.5 kB / 1.384 GB, free: 10.79 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/1.141, allocations: 0 / 1.384 GB, free: 10.79 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.623e-06/1.141, allocations: 4 kB / 1.384 GB, free: 10.79 MB / 1.107 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.141, allocations: 4 kB / 1.384 GB, free: 10.79 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008513/1.142, allocations: 0.5838 MB / 1.384 GB, free: 10.15 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/1.142, allocations: 8.625 kB / 1.385 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003543/1.142, allocations: 55.59 kB / 1.385 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004822/1.143, allocations: 309.3 kB / 1.385 GB, free: 9.75 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/1.143, allocations: 8 kB / 1.385 GB, free: 9.742 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/1.143, allocations: 16 kB / 1.385 GB, free: 9.727 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/1.143, allocations: 200.1 kB / 1.385 GB, free: 9.516 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/1.143, allocations: 4 kB / 1.385 GB, free: 9.512 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/1.143, allocations: 8 kB / 1.385 GB, free: 9.504 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/1.143, allocations: 4 kB / 1.385 GB, free: 9.5 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003195/1.144, allocations: 127.8 kB / 1.385 GB, free: 9.375 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.001014/1.145, allocations: 0.7769 MB / 1.386 GB, free: 8.527 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/1.145, allocations: 78.53 kB / 1.386 GB, free: 8.441 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/1.145, allocations: 76.86 kB / 1.386 GB, free: 8.363 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002921/1.146, allocations: 194.2 kB / 1.386 GB, free: 8.137 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/1.146, allocations: 34.55 kB / 1.386 GB, free: 8.094 MB / 1.107 GB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/1.146, allocations: 0 / 1.386 GB, free: 8.094 MB / 1.107 GB Notification: Performance of matching and sorting (n=10): time 0.0006896/1.146, allocations: 225.2 kB / 1.387 GB, free: 7.867 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/1.146, allocations: 55.34 kB / 1.387 GB, free: 7.801 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/1.147, allocations: 267 kB / 1.387 GB, free: 7.539 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/1.147, allocations: 29.7 kB / 1.387 GB, free: 7.504 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/1.147, allocations: 147.9 kB / 1.387 GB, free: 7.355 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/1.147, allocations: 31.55 kB / 1.387 GB, free: 7.324 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/1.147, allocations: 25.72 kB / 1.387 GB, free: 7.293 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001089/1.147, allocations: 334.8 kB / 1.387 GB, free: 6.957 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.147, allocations: 49.2 kB / 1.387 GB, free: 6.906 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/1.147, allocations: 97.03 kB / 1.388 GB, free: 6.793 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002634/1.148, allocations: 127.2 kB / 1.388 GB, free: 6.656 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.148, allocations: 0 / 1.388 GB, free: 6.656 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003626/1.148, allocations: 165.2 kB / 1.388 GB, free: 6.488 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.148, allocations: 4 kB / 1.388 GB, free: 6.484 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.148, allocations: 0 / 1.388 GB, free: 6.484 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/1.148, allocations: 7.938 kB / 1.388 GB, free: 6.477 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/1.148, allocations: 24.02 kB / 1.388 GB, free: 6.453 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/1.148, allocations: 0 / 1.388 GB, free: 6.453 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/1.148, allocations: 27.81 kB / 1.388 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.398e-05/1.148, allocations: 8 kB / 1.388 GB, free: 6.418 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002466/1.149, allocations: 144.1 kB / 1.388 GB, free: 6.273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001715/1.149, allocations: 93.05 kB / 1.388 GB, free: 6.164 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002993/1.149, allocations: 115.4 kB / 1.388 GB, free: 6.039 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.102e-06/1.149, allocations: 0 / 1.388 GB, free: 6.039 MB / 1.107 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003315/1.149, allocations: 161.4 kB / 1.388 GB, free: 5.875 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.784e-06/1.149, allocations: 8.031 kB / 1.388 GB, free: 5.867 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/1.149, allocations: 0 / 1.388 GB, free: 5.867 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.149, allocations: 4 kB / 1.388 GB, free: 5.863 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/1.15, allocations: 19.98 kB / 1.388 GB, free: 5.844 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.15, allocations: 7.922 kB / 1.388 GB, free: 5.836 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/1.15, allocations: 19.89 kB / 1.388 GB, free: 5.816 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/1.15, allocations: 4 kB / 1.388 GB, free: 5.812 MB / 1.107 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 (10): * Single equations (assignments): 10 * 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.0001146/1.15, allocations: 192.2 kB / 1.389 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/1.15, allocations: 23.72 kB / 1.389 GB, free: 5.594 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/1.15, allocations: 159.3 kB / 1.389 GB, free: 5.43 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/1.15, allocations: 11.92 kB / 1.389 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/1.15, allocations: 480 / 1.389 GB, free: 5.418 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.151, allocations: 104.8 kB / 1.389 GB, free: 5.297 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/1.151, allocations: 4.125 kB / 1.389 GB, free: 5.293 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/1.151, allocations: 11.98 kB / 1.389 GB, free: 5.281 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.293e-05/1.151, allocations: 15.98 kB / 1.389 GB, free: 5.266 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003857/1.151, allocations: 216.8 kB / 1.389 GB, free: 5.047 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000393/1.152, allocations: 318.4 kB / 1.389 GB, free: 4.719 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001479/1.152, allocations: 51.95 kB / 1.389 GB, free: 4.668 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0001868/1.152, allocations: 197.9 kB / 1.39 GB, free: 4.473 MB / 1.107 GB Notification: Performance of Backend: time 3.51e-07/1.152, allocations: 3.938 kB / 1.39 GB, free: 4.469 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.001269/1.153, allocations: 351.4 kB / 1.39 GB, free: 4.133 MB / 1.107 GB Notification: Performance of SimCode: time 0.001276/1.155, allocations: 0.8996 MB / 1.391 GB, free: 3.188 MB / 1.107 GB Notification: Performance of Templates: time 0.01142/1.166, allocations: 5.893 MB / 1.397 GB, free: 13.34 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches