Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001365/0.001366, allocations: 111.3 kB / 15.99 MB, free: 6.348 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.001343/0.001343, allocations: 187.7 kB / 16.91 MB, free: 6.188 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.366/1.366, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.552/2.552, allocations: 437 MB / 0.7107 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 68.08 kB / 0.8694 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2974, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7192/1.017, allocations: 159.1 MB / 1.173 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002165/1.019, allocations: 0.9532 MB / 1.174 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/1.019, allocations: 9.406 kB / 1.174 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006075/1.02, allocations: 134.5 kB / 1.174 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001609/1.021, allocations: 0.6018 MB / 1.175 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/1.022, allocations: 203.2 kB / 1.175 GB, free: 13 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006738/1.023, allocations: 0.5236 MB / 1.175 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/1.023, allocations: 174.8 kB / 1.175 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004546/1.024, allocations: 241.7 kB / 1.176 GB, free: 12.58 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/1.024, allocations: 179.1 kB / 1.176 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/1.024, allocations: 14.16 kB / 1.176 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008727/1.025, allocations: 0.557 MB / 1.176 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/1.025, allocations: 82.94 kB / 1.176 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001294/1.025, allocations: 118 kB / 1.177 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005467/1.026, allocations: 346.2 kB / 1.177 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/1.026, allocations: 0.9688 kB / 1.177 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.853e-06/1.026, allocations: 0 / 1.177 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.468e-06/1.026, allocations: 0 / 1.177 GB, free: 12.09 MB / 0.8887 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.001421/1.027, allocations: 0.5994 MB / 1.177 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/1.027, allocations: 9.859 kB / 1.177 GB, free: 11.61 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002507/1.027, allocations: 49.02 kB / 1.178 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/1.028, allocations: 282.9 kB / 1.178 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.028, allocations: 12.02 kB / 1.178 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/1.028, allocations: 15.31 kB / 1.178 GB, free: 11.33 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/1.028, allocations: 238.5 kB / 1.178 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/1.028, allocations: 0 / 1.178 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/1.028, allocations: 5.094 kB / 1.178 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.296e-05/1.028, allocations: 12.34 kB / 1.178 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006503/1.029, allocations: 257.1 kB / 1.178 GB, free: 11.11 MB / 0.8887 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.001227/1.03, allocations: 0.8356 MB / 1.179 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003268/1.031, allocations: 146.3 kB / 1.179 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/1.031, allocations: 113.9 kB / 1.179 GB, free: 10.26 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/1.031, allocations: 192.4 kB / 1.18 GB, free: 10.06 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/1.031, allocations: 31.78 kB / 1.18 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/1.031, allocations: 3.938 kB / 1.18 GB, free: 10.02 MB / 0.8887 GB Notification: Performance of matching and sorting (n=14): time 0.0008492/1.032, allocations: 302.8 kB / 1.18 GB, free: 9.855 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/1.032, allocations: 52.78 kB / 1.18 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/1.032, allocations: 243.4 kB / 1.18 GB, free: 9.629 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/1.032, allocations: 27.08 kB / 1.18 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.032, allocations: 139.2 kB / 1.18 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/1.032, allocations: 44.8 kB / 1.18 GB, free: 9.43 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/1.033, allocations: 39.45 kB / 1.18 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.033, allocations: 332.3 kB / 1.181 GB, free: 9.07 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000182/1.033, allocations: 66.33 kB / 1.181 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/1.033, allocations: 107.8 kB / 1.181 GB, free: 8.969 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003564/1.033, allocations: 171.4 kB / 1.181 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.033, allocations: 0 / 1.181 GB, free: 8.867 MB / 0.8887 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004537/1.034, allocations: 216.2 kB / 1.181 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/1.034, allocations: 5.125 kB / 1.181 GB, free: 8.746 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/1.034, allocations: 3.938 kB / 1.181 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.034, allocations: 2 kB / 1.181 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001933/1.034, allocations: 34.59 kB / 1.181 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/1.034, allocations: 1.375 kB / 1.181 GB, free: 8.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/1.034, allocations: 29.8 kB / 1.181 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/1.034, allocations: 5.594 kB / 1.181 GB, free: 8.711 MB / 0.8887 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.0001471/1.035, allocations: 140.9 kB / 1.181 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.738e-05/1.035, allocations: 25.42 kB / 1.181 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.728e-05/1.035, allocations: 35.78 kB / 1.182 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/1.035, allocations: 2.656 kB / 1.182 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.035, allocations: 0 / 1.182 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.035, allocations: 3.984 kB / 1.182 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/1.036, allocations: 0.6721 MB / 1.182 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.036, allocations: 1.219 kB / 1.182 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/1.036, allocations: 34.7 kB / 1.182 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/1.036, allocations: 6.469 kB / 1.182 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/1.036, allocations: 2.688 kB / 1.182 GB, free: 7.949 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.411e-05/1.036, allocations: 6.734 kB / 1.182 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/1.036, allocations: 2.969 kB / 1.182 GB, free: 7.945 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/1.037, allocations: 364.6 kB / 1.183 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/1.037, allocations: 114.3 kB / 1.183 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.842e-05/1.037, allocations: 2.719 kB / 1.183 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/1.037, allocations: 15.02 kB / 1.183 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/1.037, allocations: 22.36 kB / 1.183 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/1.037, allocations: 9.25 kB / 1.183 GB, free: 7.504 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001734/1.037, allocations: 180.6 kB / 1.183 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1e-07/1.037, allocations: 0 / 1.183 GB, free: 7.375 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003664/1.038, allocations: 55.91 kB / 1.183 GB, free: 7.367 MB / 0.8887 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.000362/1.038, allocations: 159.4 kB / 1.183 GB, free: 7.25 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004738/1.038, allocations: 182.8 kB / 1.183 GB, free: 7.164 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1.038, allocations: 4.125 kB / 1.183 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/1.039, allocations: 94.12 kB / 1.183 GB, free: 7.117 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/1.039, allocations: 121.8 kB / 1.183 GB, free: 7.062 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008832/1.04, allocations: 0.5279 MB / 1.184 GB, free: 6.621 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/1.041, allocations: 0.752 MB / 1.185 GB, free: 5.891 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.633e-05/1.041, allocations: 21.53 kB / 1.185 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of SimCode: time 2.2e-07/1.041, allocations: 0 / 1.185 GB, free: 5.883 MB / 0.8887 GB Notification: Performance of Templates: time 0.006209/1.047, allocations: 3.698 MB / 1.188 GB, free: 3.996 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,res.dp,res.sta_a.T,res.sta_b.T Variables in the result:res.dp,res.sta_a.T,res.sta_b.T,time