Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001887/0.001886, allocations: 113.6 kB / 16.42 MB, free: 6.465 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.002256/0.002256, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.535/1.535, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.921/2.921, allocations: 469.4 MB / 0.7428 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 63.88 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046/1.048, allocations: 159.1 MB / 1.221 GB, free: 2.328 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.02492/1.073, allocations: 20.75 MB / 1.241 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.007748/1.08, allocations: 4.944 MB / 1.246 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009509/1.081, allocations: 19.88 kB / 1.246 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009975/1.082, allocations: 282 kB / 1.246 GB, free: 8.242 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002537/1.085, allocations: 0.8542 MB / 1.247 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002416/1.088, allocations: 0.717 MB / 1.248 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002147/1.09, allocations: 1.388 MB / 1.249 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007601/1.09, allocations: 432.3 kB / 1.25 GB, free: 4.855 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001269/1.092, allocations: 0.5915 MB / 1.25 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00086/1.093, allocations: 442.1 kB / 1.251 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/1.093, allocations: 36 kB / 1.251 GB, free: 3.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/1.094, allocations: 0.6355 MB / 1.251 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001791/1.094, allocations: 127.5 kB / 1.251 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004053/1.095, allocations: 290.5 kB / 1.252 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/1.096, allocations: 0.8391 MB / 1.252 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.096, allocations: 0 / 1.252 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.12e-07/1.096, allocations: 0 / 1.252 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.099e-05/1.096, allocations: 0 / 1.252 GB, free: 1.906 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001783/1.098, allocations: 0.9265 MB / 1.253 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.098, allocations: 8.625 kB / 1.253 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/1.098, allocations: 64.19 kB / 1.253 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008255/1.099, allocations: 479.3 kB / 1.254 GB, free: 360 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/1.099, allocations: 28.66 kB / 1.254 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/1.099, allocations: 36 kB / 1.254 GB, free: 296 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006802/1.1, allocations: 310 kB / 1.254 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/1.1, allocations: 0 / 1.254 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/1.1, allocations: 12 kB / 1.254 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/1.1, allocations: 4 kB / 1.254 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006397/1.101, allocations: 258.4 kB / 1.254 GB, free: 15.71 MB / 0.9825 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.002348/1.103, allocations: 1.337 MB / 1.256 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005184/1.104, allocations: 258.4 kB / 1.256 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002937/1.104, allocations: 132.8 kB / 1.256 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004228/1.104, allocations: 0.4949 MB / 1.257 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/1.104, allocations: 38.56 kB / 1.257 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/1.104, allocations: 3.938 kB / 1.257 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.001746/1.106, allocations: 0.565 MB / 1.257 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/1.106, allocations: 55.41 kB / 1.257 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/1.107, allocations: 462.1 kB / 1.258 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/1.107, allocations: 33.7 kB / 1.258 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/1.107, allocations: 244.5 kB / 1.258 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/1.107, allocations: 90.67 kB / 1.258 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/1.107, allocations: 85.33 kB / 1.258 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.107, allocations: 354.8 kB / 1.259 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/1.108, allocations: 128.8 kB / 1.259 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/1.108, allocations: 182.6 kB / 1.259 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/1.109, allocations: 266.4 kB / 1.259 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.109, allocations: 0 / 1.259 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001551/1.11, allocations: 0.4884 MB / 1.26 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/1.11, allocations: 4 kB / 1.26 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.11, allocations: 0 / 1.26 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003615/1.111, allocations: 64.8 kB / 1.26 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/1.111, allocations: 67.89 kB / 1.26 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004533/1.112, allocations: 0.5563 MB / 1.26 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/1.112, allocations: 59.58 kB / 1.26 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/1.112, allocations: 8 kB / 1.26 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000414/1.112, allocations: 244 kB / 1.261 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000342/1.113, allocations: 185.2 kB / 1.261 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005551/1.113, allocations: 264.4 kB / 1.261 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.342e-06/1.113, allocations: 0 / 1.261 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007705/1.114, allocations: 368.8 kB / 1.261 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/1.114, allocations: 4 kB / 1.261 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/1.114, allocations: 4 kB / 1.261 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.376e-06/1.114, allocations: 0 / 1.261 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/1.115, allocations: 83.88 kB / 1.261 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.115, allocations: 3.938 kB / 1.261 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/1.115, allocations: 47.8 kB / 1.261 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/1.115, allocations: 15.98 kB / 1.261 GB, free: 8.16 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.115, allocations: 203.4 kB / 1.262 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/1.115, allocations: 51.34 kB / 1.262 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009383/1.116, allocations: 415.9 kB / 1.262 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.116, allocations: 4 kB / 1.262 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/1.116, allocations: 4 kB / 1.262 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/1.116, allocations: 152.4 kB / 1.262 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/1.117, allocations: 8 kB / 1.262 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/1.117, allocations: 23.97 kB / 1.262 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/1.117, allocations: 23.95 kB / 1.262 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001047/1.118, allocations: 449.5 kB / 1.263 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001118/1.119, allocations: 0.6898 MB / 1.263 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003126/1.119, allocations: 132.7 kB / 1.264 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003333/1.12, allocations: 322.9 kB / 1.264 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of Backend: time 3e-07/1.12, allocations: 0 / 1.264 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001803/1.122, allocations: 0.6246 MB / 1.264 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002066/1.124, allocations: 1.362 MB / 1.266 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of Templates: time 0.01982/1.144, allocations: 11.56 MB / 1.277 GB, free: 8.199 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Examples_CheckValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.CheckValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches