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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001473/0.001473, allocations: 116.7 kB / 16.37 MB, free: 6 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.001658/0.001658, allocations: 193.1 kB / 17.31 MB, free: 5.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.404/1.404, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.208/2.208, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 65.2 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2894, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7771/1.067, allocations: 161.3 MB / 1.109 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002302/1.069, allocations: 0.9548 MB / 1.11 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/1.069, allocations: 17.66 kB / 1.11 GB, free: 5.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006094/1.07, allocations: 155.8 kB / 1.11 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/1.072, allocations: 0.6375 MB / 1.11 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/1.072, allocations: 223.8 kB / 1.111 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008224/1.073, allocations: 0.5227 MB / 1.111 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003684/1.074, allocations: 170.8 kB / 1.111 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/1.074, allocations: 236.1 kB / 1.111 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/1.074, allocations: 159.1 kB / 1.112 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/1.074, allocations: 13.59 kB / 1.112 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/1.076, allocations: 0.542 MB / 1.112 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001551/1.076, allocations: 79.8 kB / 1.112 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/1.076, allocations: 114.5 kB / 1.112 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0009267/1.077, allocations: 491.6 kB / 1.113 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/1.077, allocations: 1.312 kB / 1.113 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/1.077, allocations: 0 / 1.113 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.352e-06/1.077, allocations: 4 kB / 1.113 GB, free: 5.707 MB / 0.8575 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.001665/1.079, allocations: 0.5992 MB / 1.113 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/1.079, allocations: 8.875 kB / 1.113 GB, free: 21.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000269/1.079, allocations: 49.67 kB / 1.113 GB, free: 21.26 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005106/1.079, allocations: 288.6 kB / 1.114 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/1.079, allocations: 15.39 kB / 1.114 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.793e-05/1.079, allocations: 18.47 kB / 1.114 GB, free: 21.03 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/1.08, allocations: 236.4 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/1.08, allocations: 2.344 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/1.08, allocations: 5.672 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/1.08, allocations: 13.03 kB / 1.114 GB, free: 21 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/1.081, allocations: 256.8 kB / 1.114 GB, free: 20.99 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.001281/1.082, allocations: 0.8379 MB / 1.115 GB, free: 20.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000308/1.082, allocations: 147.5 kB / 1.115 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/1.082, allocations: 109.3 kB / 1.115 GB, free: 20.52 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/1.083, allocations: 188.9 kB / 1.116 GB, free: 20.33 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.083, allocations: 38.83 kB / 1.116 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.783e-06/1.083, allocations: 0 / 1.116 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.0008247/1.084, allocations: 296.7 kB / 1.116 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/1.084, allocations: 59.53 kB / 1.116 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/1.084, allocations: 241.9 kB / 1.116 GB, free: 20.08 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/1.084, allocations: 27.77 kB / 1.116 GB, free: 20.05 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.374e-05/1.084, allocations: 141.2 kB / 1.116 GB, free: 19.95 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/1.084, allocations: 50.14 kB / 1.116 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/1.084, allocations: 36.09 kB / 1.116 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.084, allocations: 330.2 kB / 1.117 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/1.084, allocations: 70 kB / 1.117 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/1.085, allocations: 103.8 kB / 1.117 GB, free: 19.56 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/1.085, allocations: 163.5 kB / 1.117 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.085, allocations: 3.5 kB / 1.117 GB, free: 19.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004427/1.085, allocations: 219.6 kB / 1.117 GB, free: 19.49 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.086, allocations: 10.55 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.086, allocations: 5.672 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/1.086, allocations: 2.844 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/1.086, allocations: 30.17 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/1.086, allocations: 2.062 kB / 1.117 GB, free: 19.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/1.086, allocations: 21.91 kB / 1.117 GB, free: 19.47 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/1.086, allocations: 8.938 kB / 1.117 GB, free: 19.47 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.000132/1.086, allocations: 148.1 kB / 1.117 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/1.086, allocations: 23.12 kB / 1.117 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.807e-05/1.086, allocations: 37.42 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/1.086, allocations: 1.5 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.086, allocations: 1.094 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.086, allocations: 2.953 kB / 1.118 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.087, allocations: 0.6752 MB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.087, allocations: 2.906 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/1.088, allocations: 30.66 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.088, allocations: 2.812 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/1.088, allocations: 7.562 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.562e-06/1.088, allocations: 9.938 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.088, allocations: 2.188 kB / 1.118 GB, free: 18.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/1.088, allocations: 352.1 kB / 1.119 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/1.088, allocations: 114.4 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/1.088, allocations: 6.328 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/1.088, allocations: 12.92 kB / 1.119 GB, free: 18.66 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.777e-05/1.088, allocations: 22.27 kB / 1.119 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/1.089, allocations: 5.047 kB / 1.119 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000164/1.089, allocations: 179.6 kB / 1.119 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.31e-07/1.089, allocations: 1.203 kB / 1.119 GB, free: 18.57 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003665/1.089, allocations: 56.77 kB / 1.119 GB, free: 18.57 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.0003689/1.089, allocations: 163.3 kB / 1.119 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004405/1.09, allocations: 175.9 kB / 1.119 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.09, allocations: 1.156 kB / 1.119 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/1.09, allocations: 94.05 kB / 1.119 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/1.091, allocations: 118.6 kB / 1.119 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/1.092, allocations: 446.8 kB / 1.12 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/1.092, allocations: 0.7589 MB / 1.121 GB, free: 17.49 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001965/1.092, allocations: 65.03 kB / 1.121 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.456e-05/1.092, allocations: 22 kB / 1.121 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/1.092, allocations: 0 / 1.121 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.008978/1.101, allocations: 4.426 MB / 1.125 GB, free: 17.2 MB / 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches