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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001555/0.001555, allocations: 106.8 kB / 16.36 MB, free: 5.875 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.001539/0.001539, allocations: 199.6 kB / 17.3 MB, free: 5.516 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.357/1.357, 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 11.0.0-master/package.mo): time 2.604/2.604, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.88 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3312, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.7348/1.066, allocations: 161.3 MB / 1.184 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002023/1.068, allocations: 0.9603 MB / 1.185 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/1.068, allocations: 9.25 kB / 1.185 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005551/1.069, allocations: 155.6 kB / 1.185 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.001729/1.071, allocations: 0.6364 MB / 1.186 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007352/1.071, allocations: 214.8 kB / 1.186 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0007845/1.072, allocations: 0.521 MB / 1.187 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004026/1.073, allocations: 182.7 kB / 1.187 GB, free: 436 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005001/1.073, allocations: 233 kB / 1.187 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/1.073, allocations: 156.9 kB / 1.187 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.438e-05/1.073, allocations: 18 kB / 1.187 GB, free: 208 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/1.074, allocations: 0.544 MB / 1.188 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/1.075, allocations: 83.97 kB / 1.188 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/1.075, allocations: 110.3 kB / 1.188 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007914/1.076, allocations: 493.4 kB / 1.188 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.076, allocations: 0 / 1.188 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.674e-06/1.076, allocations: 0 / 1.188 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.698e-06/1.076, allocations: 0 / 1.188 GB, free: 15.49 MB / 0.9044 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.001404/1.077, allocations: 0.5977 MB / 1.189 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/1.077, allocations: 9.875 kB / 1.189 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002667/1.077, allocations: 48.28 kB / 1.189 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000442/1.078, allocations: 295.6 kB / 1.189 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/1.078, allocations: 11.2 kB / 1.189 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.61e-05/1.078, allocations: 19.06 kB / 1.189 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005074/1.078, allocations: 239.7 kB / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/1.078, allocations: 1.219 kB / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/1.078, allocations: 9.234 kB / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/1.078, allocations: 8.156 kB / 1.19 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/1.079, allocations: 255.7 kB / 1.19 GB, free: 14.35 MB / 0.9044 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.001349/1.08, allocations: 0.8321 MB / 1.191 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/1.081, allocations: 142.5 kB / 1.191 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002251/1.081, allocations: 113.2 kB / 1.191 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/1.081, allocations: 188.8 kB / 1.191 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.081, allocations: 39.59 kB / 1.191 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/1.081, allocations: 4 kB / 1.191 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.0008334/1.082, allocations: 310 kB / 1.191 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.082, allocations: 53.19 kB / 1.192 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000233/1.082, allocations: 240 kB / 1.192 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/1.082, allocations: 29.7 kB / 1.192 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.182e-05/1.083, allocations: 135.6 kB / 1.192 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/1.083, allocations: 48.83 kB / 1.192 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/1.083, allocations: 37.92 kB / 1.192 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.083, allocations: 332.5 kB / 1.192 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/1.083, allocations: 71.5 kB / 1.192 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002015/1.083, allocations: 97.33 kB / 1.192 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003442/1.084, allocations: 173.2 kB / 1.193 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.084, allocations: 0 / 1.193 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004767/1.084, allocations: 210.8 kB / 1.193 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/1.084, allocations: 9.5 kB / 1.193 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/1.084, allocations: 3.938 kB / 1.193 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/1.084, allocations: 1.219 kB / 1.193 GB, free: 11.97 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/1.084, allocations: 37.94 kB / 1.193 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.084, allocations: 2.562 kB / 1.193 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/1.084, allocations: 23.55 kB / 1.193 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/1.085, allocations: 4.75 kB / 1.193 GB, free: 11.95 MB / 0.9044 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.0001361/1.085, allocations: 140.5 kB / 1.193 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.335e-05/1.085, allocations: 27.03 kB / 1.193 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.197e-05/1.085, allocations: 31.28 kB / 1.193 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/1.085, allocations: 2.219 kB / 1.193 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.085, allocations: 0 / 1.193 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.085, allocations: 5.078 kB / 1.193 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/1.086, allocations: 0.6784 MB / 1.194 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/1.086, allocations: 3.062 kB / 1.194 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/1.086, allocations: 29.36 kB / 1.194 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/1.086, allocations: 2.75 kB / 1.194 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/1.086, allocations: 8.25 kB / 1.194 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/1.086, allocations: 9.578 kB / 1.194 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.086, allocations: 6.75 kB / 1.194 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/1.087, allocations: 352.6 kB / 1.194 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/1.087, allocations: 114 kB / 1.194 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.628e-05/1.087, allocations: 7.938 kB / 1.194 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/1.087, allocations: 13.48 kB / 1.194 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/1.087, allocations: 13.42 kB / 1.194 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/1.087, allocations: 9.375 kB / 1.194 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001601/1.087, allocations: 180.7 kB / 1.194 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/1.087, allocations: 3.938 kB / 1.194 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003741/1.088, allocations: 52.12 kB / 1.195 GB, free: 10.61 MB / 0.9044 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.0003996/1.088, allocations: 162.9 kB / 1.195 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004631/1.088, allocations: 176 kB / 1.195 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.088, allocations: 0 / 1.195 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/1.089, allocations: 104.2 kB / 1.195 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007004/1.089, allocations: 120.5 kB / 1.195 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007761/1.09, allocations: 441.5 kB / 1.196 GB, free: 9.965 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/1.091, allocations: 0.7529 MB / 1.196 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002073/1.091, allocations: 60.66 kB / 1.196 GB, free: 9.207 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.037e-05/1.091, allocations: 20.31 kB / 1.196 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of SimCode: time 3.21e-07/1.091, allocations: 0 / 1.196 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of Templates: time 0.008638/1.099, allocations: 4.422 MB / 1.201 GB, free: 7.02 MB / 0.9044 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 -s cvode -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) Reference file matches