Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|res.dp|res.sta_a.T|res.sta_b.T",fileNamePrefix="Buildings_latest_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_latest_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.001494/0.001495, allocations: 111.4 kB / 16.41 MB, free: 6.488 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.001688/0.001688, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.395/1.395, 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.584/2.584, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 71.83 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8364, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1772/1.014, allocations: 161.3 MB / 1.366 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.002172/1.016, allocations: 0.9548 MB / 1.367 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004176/1.016, allocations: 15.88 kB / 1.367 GB, free: 10.71 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000706/1.017, allocations: 162.9 kB / 1.367 GB, free: 10.55 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.001936/1.019, allocations: 0.6302 MB / 1.368 GB, free: 9.922 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007427/1.02, allocations: 227 kB / 1.368 GB, free: 9.703 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0008053/1.021, allocations: 0.5148 MB / 1.368 GB, free: 9.188 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004286/1.021, allocations: 176.2 kB / 1.369 GB, free: 9.016 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005923/1.022, allocations: 243 kB / 1.369 GB, free: 8.777 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/1.022, allocations: 163.3 kB / 1.369 GB, free: 8.617 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/1.022, allocations: 12 kB / 1.369 GB, free: 8.605 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/1.023, allocations: 0.5377 MB / 1.369 GB, free: 8.066 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/1.023, allocations: 83.77 kB / 1.37 GB, free: 7.984 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001684/1.023, allocations: 111.4 kB / 1.37 GB, free: 7.875 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0009646/1.024, allocations: 484.5 kB / 1.37 GB, free: 7.402 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.024, allocations: 4 kB / 1.37 GB, free: 7.398 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.314e-06/1.024, allocations: 0 / 1.37 GB, free: 7.398 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.13e-05/1.024, allocations: 4 kB / 1.37 GB, free: 7.395 MB / 1.092 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.001654/1.026, allocations: 0.6116 MB / 1.371 GB, free: 6.734 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/1.026, allocations: 8.031 kB / 1.371 GB, free: 6.727 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003004/1.026, allocations: 47.69 kB / 1.371 GB, free: 6.68 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/1.027, allocations: 286.4 kB / 1.371 GB, free: 6.359 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/1.027, allocations: 8.328 kB / 1.371 GB, free: 6.352 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/1.027, allocations: 19.98 kB / 1.371 GB, free: 6.332 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/1.028, allocations: 242.9 kB / 1.371 GB, free: 6.09 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/1.028, allocations: 0 / 1.371 GB, free: 6.09 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/1.028, allocations: 8 kB / 1.371 GB, free: 6.082 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.719e-05/1.028, allocations: 11.98 kB / 1.371 GB, free: 6.07 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/1.028, allocations: 255.5 kB / 1.372 GB, free: 5.82 MB / 1.092 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.001358/1.03, allocations: 0.8277 MB / 1.372 GB, free: 4.918 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003244/1.03, allocations: 142.5 kB / 1.373 GB, free: 4.77 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/1.03, allocations: 116.9 kB / 1.373 GB, free: 4.652 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/1.03, allocations: 182.2 kB / 1.373 GB, free: 4.438 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/1.03, allocations: 34.56 kB / 1.373 GB, free: 4.395 MB / 1.092 GB Notification: Performance of pre-optimization done (n=14): time 2.985e-06/1.03, allocations: 4 kB / 1.373 GB, free: 4.391 MB / 1.092 GB Notification: Performance of matching and sorting (n=14): time 0.0008698/1.031, allocations: 305.1 kB / 1.373 GB, free: 4.086 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/1.031, allocations: 51.41 kB / 1.373 GB, free: 4.023 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/1.032, allocations: 245 kB / 1.373 GB, free: 3.77 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/1.032, allocations: 29.7 kB / 1.373 GB, free: 3.734 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 9.645e-05/1.032, allocations: 140.2 kB / 1.374 GB, free: 3.594 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/1.032, allocations: 51.28 kB / 1.374 GB, free: 3.543 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.255e-05/1.032, allocations: 33.7 kB / 1.374 GB, free: 3.504 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001216/1.032, allocations: 330.8 kB / 1.374 GB, free: 3.172 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/1.032, allocations: 67.94 kB / 1.374 GB, free: 3.105 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/1.032, allocations: 109.2 kB / 1.374 GB, free: 2.992 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003526/1.033, allocations: 178 kB / 1.374 GB, free: 2.812 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.033, allocations: 0 / 1.374 GB, free: 2.812 MB / 1.092 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004965/1.033, allocations: 217.2 kB / 1.375 GB, free: 2.594 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/1.033, allocations: 17.88 kB / 1.375 GB, free: 2.578 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/1.033, allocations: 0 / 1.375 GB, free: 2.578 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/1.033, allocations: 0 / 1.375 GB, free: 2.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/1.034, allocations: 31.92 kB / 1.375 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.034, allocations: 0 / 1.375 GB, free: 2.547 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/1.034, allocations: 19.83 kB / 1.375 GB, free: 2.527 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/1.034, allocations: 15.98 kB / 1.375 GB, free: 2.512 MB / 1.092 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.000137/1.034, allocations: 133.8 kB / 1.375 GB, free: 2.371 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/1.034, allocations: 27.75 kB / 1.375 GB, free: 2.344 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.682e-05/1.034, allocations: 33.83 kB / 1.375 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.034, allocations: 0 / 1.375 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.034, allocations: 0 / 1.375 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.034, allocations: 0 / 1.375 GB, free: 2.316 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/1.035, allocations: 0.6872 MB / 1.375 GB, free: 1.551 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.035, allocations: 0 / 1.375 GB, free: 1.551 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/1.035, allocations: 31.97 kB / 1.376 GB, free: 1.52 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.035, allocations: 4 kB / 1.376 GB, free: 1.516 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/1.035, allocations: 4 kB / 1.376 GB, free: 1.512 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.035, allocations: 8.156 kB / 1.376 GB, free: 1.504 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.036, allocations: 8.047 kB / 1.376 GB, free: 1.496 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005052/1.036, allocations: 353 kB / 1.376 GB, free: 1.113 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/1.036, allocations: 112.9 kB / 1.376 GB, free: 0.9844 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/1.036, allocations: 4 kB / 1.376 GB, free: 0.9805 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/1.036, allocations: 15.98 kB / 1.376 GB, free: 0.9648 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/1.036, allocations: 7.938 kB / 1.376 GB, free: 0.957 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/1.036, allocations: 11.98 kB / 1.376 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001603/1.037, allocations: 176.5 kB / 1.376 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.2e-07/1.037, allocations: 0 / 1.376 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0003671/1.037, allocations: 71.83 kB / 1.376 GB, free: 0.7031 MB / 1.092 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.0004249/1.037, allocations: 160.5 kB / 1.376 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0004711/1.038, allocations: 167.9 kB / 1.377 GB, free: 384 kB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.038, allocations: 4.062 kB / 1.377 GB, free: 380 kB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.038, allocations: 95.81 kB / 1.377 GB, free: 284 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/1.039, allocations: 121 kB / 1.377 GB, free: 168 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008061/1.04, allocations: 470 kB / 1.377 GB, free: 15.65 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/1.04, allocations: 0.7519 MB / 1.378 GB, free: 14.87 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.635e-05/1.04, allocations: 31.42 kB / 1.378 GB, free: 14.84 MB / 1.107 GB Notification: Performance of SimCode: time 2.3e-07/1.04, allocations: 0 / 1.378 GB, free: 14.84 MB / 1.107 GB Notification: Performance of Templates: time 0.006753/1.047, allocations: 3.713 MB / 1.382 GB, free: 11.16 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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