Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01329/0.01329, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.51/1.51, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.504/2.504, allocations: 390.9 MB / 0.6663 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 8 kB / 0.8159 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7844/0.7848, allocations: 142.4 MB / 0.955 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.198/0.9829, allocations: 157 MB / 1.108 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002102/0.985, allocations: 0.9393 MB / 1.109 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003768/0.9854, allocations: 4 kB / 1.109 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006571/0.9861, allocations: 131.2 kB / 1.109 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.9879, allocations: 0.6071 MB / 1.11 GB, free: 80 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.9886, allocations: 203 kB / 1.11 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.9896, allocations: 0.7371 MB / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004313/0.9901, allocations: 164 kB / 1.111 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/0.9906, allocations: 211.1 kB / 1.111 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.991, allocations: 167.3 kB / 1.111 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.991, allocations: 12 kB / 1.111 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.9921, allocations: 0.6351 MB / 1.112 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.9923, allocations: 83.64 kB / 1.112 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.9925, allocations: 125.2 kB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0008525/0.9933, allocations: 0.5024 MB / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.9934, allocations: 0 / 1.113 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.624e-06/0.9934, allocations: 4 kB / 1.113 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.9934, allocations: 0 / 1.113 GB, free: 13.24 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00152/0.9949, allocations: 0.5611 MB / 1.113 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.995, allocations: 12.03 kB / 1.113 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002913/0.9953, allocations: 43.69 kB / 1.113 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.9956, allocations: 278.4 kB / 1.114 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.9957, allocations: 12.33 kB / 1.114 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.9957, allocations: 12 kB / 1.114 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/0.9963, allocations: 254.9 kB / 1.114 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.9963, allocations: 0 / 1.114 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.9964, allocations: 4 kB / 1.114 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/0.9964, allocations: 15.98 kB / 1.114 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.9971, allocations: 263.8 kB / 1.114 GB, free: 11.71 MB / 0.8731 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.001627/0.9988, allocations: 0.847 MB / 1.115 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003824/0.9992, allocations: 146.4 kB / 1.115 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002663/0.9994, allocations: 116.9 kB / 1.115 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.9998, allocations: 190.2 kB / 1.115 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.9998, allocations: 30.56 kB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 3.837e-06/0.9998, allocations: 4 kB / 1.115 GB, free: 10.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0009701/1.001, allocations: 322.5 kB / 1.116 GB, free: 9.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/1.001, allocations: 63.34 kB / 1.116 GB, free: 9.855 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/1.001, allocations: 241 kB / 1.116 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/1.001, allocations: 29.7 kB / 1.116 GB, free: 9.582 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/1.001, allocations: 136.2 kB / 1.116 GB, free: 9.445 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.99e-05/1.001, allocations: 47.3 kB / 1.116 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.587e-05/1.001, allocations: 17.72 kB / 1.116 GB, free: 9.375 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002058/1.002, allocations: 334.8 kB / 1.117 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/1.002, allocations: 75.94 kB / 1.117 GB, free: 8.965 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/1.002, allocations: 108.9 kB / 1.117 GB, free: 8.852 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/1.003, allocations: 184.7 kB / 1.117 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.003, allocations: 0 / 1.117 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000503/1.003, allocations: 225.4 kB / 1.117 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.003, allocations: 9.5 kB / 1.117 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.003, allocations: 0 / 1.117 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.003, allocations: 4 kB / 1.117 GB, free: 8.426 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/1.003, allocations: 31.97 kB / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.003, allocations: 0 / 1.117 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/1.004, allocations: 31.86 kB / 1.117 GB, free: 8.363 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/1.004, allocations: 8 kB / 1.117 GB, free: 8.355 MB / 0.8731 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 (15): * Single equations (assignments): 15 * 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.0001557/1.004, allocations: 141.8 kB / 1.117 GB, free: 8.207 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.222e-05/1.004, allocations: 31.64 kB / 1.117 GB, free: 8.176 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.154e-05/1.004, allocations: 29.84 kB / 1.117 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.004, allocations: 0 / 1.117 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.004, allocations: 0 / 1.117 GB, free: 8.148 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.004, allocations: 3.984 kB / 1.117 GB, free: 8.145 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001123/1.005, allocations: 0.6873 MB / 1.118 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.005, allocations: 4 kB / 1.118 GB, free: 7.375 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/1.005, allocations: 35.92 kB / 1.118 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/1.005, allocations: 4 kB / 1.118 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/1.005, allocations: 4 kB / 1.118 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/1.005, allocations: 4.203 kB / 1.118 GB, free: 7.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/1.005, allocations: 8 kB / 1.118 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/1.006, allocations: 373.1 kB / 1.119 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/1.006, allocations: 108.8 kB / 1.119 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/1.006, allocations: 8 kB / 1.119 GB, free: 6.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/1.006, allocations: 15.98 kB / 1.119 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.617e-05/1.006, allocations: 23.86 kB / 1.119 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.006, allocations: 4 kB / 1.119 GB, free: 6.742 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001695/1.007, allocations: 180.5 kB / 1.119 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.007, allocations: 0 / 1.119 GB, free: 6.566 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003646/1.007, allocations: 59.84 kB / 1.119 GB, free: 6.508 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (14): * Single equations (assignments): 14 * 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.0003983/1.007, allocations: 167 kB / 1.119 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004824/1.008, allocations: 175.8 kB / 1.119 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.008, allocations: 0 / 1.119 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/1.008, allocations: 108.2 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/1.009, allocations: 110.5 kB / 1.119 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008905/1.01, allocations: 0.51 MB / 1.12 GB, free: 5.398 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/1.01, allocations: 0.756 MB / 1.121 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002589/1.011, allocations: 65.89 kB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.903e-05/1.011, allocations: 19.44 kB / 1.121 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/1.011, allocations: 0 / 1.121 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of Templates: time 0.009326/1.02, allocations: 4.186 MB / 1.125 GB, free: 432 kB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches