Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.516/3.516, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Buildings.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.dp|senTemIn.T|senTemOut.T",fileNamePrefix="Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 70.41 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3992, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2225/0.6218, allocations: 153.1 MB / 1.475 GB, free: 8.238 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.003906/0.6257, allocations: 1.753 MB / 1.477 GB, free: 6.484 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004074/0.6261, allocations: 19.81 kB / 1.477 GB, free: 6.465 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007978/0.6269, allocations: 222.5 kB / 1.477 GB, free: 6.246 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.629, allocations: 0.77 MB / 1.478 GB, free: 5.473 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.6314, allocations: 0.8563 MB / 1.479 GB, free: 4.617 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.6326, allocations: 0.8495 MB / 1.479 GB, free: 3.766 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.6331, allocations: 239.4 kB / 1.48 GB, free: 3.527 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.6344, allocations: 0.5878 MB / 1.48 GB, free: 2.938 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.6348, allocations: 254.9 kB / 1.48 GB, free: 2.688 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.234e-05/0.6349, allocations: 31.88 kB / 1.48 GB, free: 2.656 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001563/0.6364, allocations: 0.8998 MB / 1.481 GB, free: 1.754 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.6366, allocations: 127.6 kB / 1.481 GB, free: 1.629 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.6368, allocations: 163.3 kB / 1.482 GB, free: 1.469 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.6382, allocations: 0.88 MB / 1.482 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.6382, allocations: 0 / 1.482 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6382, allocations: 0 / 1.482 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.6382, allocations: 3.938 kB / 1.482 GB, free: 0.582 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001908/0.6401, allocations: 0.7068 MB / 1.483 GB, free: 15.84 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6402, allocations: 12.03 kB / 1.483 GB, free: 15.83 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.6412, allocations: 171.4 kB / 1.483 GB, free: 15.66 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.6419, allocations: 307.6 kB / 1.484 GB, free: 15.34 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.642, allocations: 20.66 kB / 1.484 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/0.642, allocations: 24 kB / 1.484 GB, free: 15.29 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.6428, allocations: 399.5 kB / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.6428, allocations: 3.938 kB / 1.484 GB, free: 14.88 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.6429, allocations: 8 kB / 1.484 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-05/0.6429, allocations: 20.59 kB / 1.484 GB, free: 14.85 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.6437, allocations: 342.3 kB / 1.484 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.6458, allocations: 1.222 MB / 1.486 GB, free: 13.23 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.6463, allocations: 228.5 kB / 1.486 GB, free: 13 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.6466, allocations: 128.8 kB / 1.486 GB, free: 12.88 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.6471, allocations: 79.91 kB / 1.486 GB, free: 12.8 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.6471, allocations: 34.5 kB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.6471, allocations: 0 / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of matching and sorting (n=20): time 0.001073/0.6482, allocations: 385.2 kB / 1.486 GB, free: 12.37 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.506e-05/0.6482, allocations: 55.41 kB / 1.486 GB, free: 12.3 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.6486, allocations: 264.2 kB / 1.487 GB, free: 12.04 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.594e-05/0.6486, allocations: 29.7 kB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.6488, allocations: 208.5 kB / 1.487 GB, free: 11.8 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/0.6489, allocations: 67.39 kB / 1.487 GB, free: 11.73 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.649, allocations: 53.69 kB / 1.487 GB, free: 11.67 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.6492, allocations: 338.8 kB / 1.487 GB, free: 11.33 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.6494, allocations: 91.94 kB / 1.487 GB, free: 11.24 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.6498, allocations: 235 kB / 1.488 GB, free: 10.97 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.6503, allocations: 245 kB / 1.488 GB, free: 10.71 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.208e-06/0.6503, allocations: 11.94 kB / 1.488 GB, free: 10.7 MB / 1.186 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006335/0.6509, allocations: 297.2 kB / 1.488 GB, free: 10.41 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.651, allocations: 4 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.651, allocations: 4 kB / 1.488 GB, free: 10.4 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.651, allocations: 7.875 kB / 1.488 GB, free: 10.39 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.6513, allocations: 48.16 kB / 1.488 GB, free: 10.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.6513, allocations: 15.92 kB / 1.488 GB, free: 10.33 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.6515, allocations: 27.88 kB / 1.488 GB, free: 10.3 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.069e-05/0.6515, allocations: 11.98 kB / 1.488 GB, free: 10.29 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (25): * Single equations (assignments): 25 * 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.0001988/0.6517, allocations: 153.8 kB / 1.488 GB, free: 10.13 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.6518, allocations: 27.81 kB / 1.489 GB, free: 10.1 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006921/0.6525, allocations: 301.3 kB / 1.489 GB, free: 9.797 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.6525, allocations: 4 kB / 1.489 GB, free: 9.793 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6525, allocations: 4 kB / 1.489 GB, free: 9.789 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.6525, allocations: 3.984 kB / 1.489 GB, free: 9.785 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.654, allocations: 0.796 MB / 1.49 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.654, allocations: 0 / 1.49 GB, free: 8.918 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.6542, allocations: 51.91 kB / 1.49 GB, free: 8.867 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.535e-06/0.6542, allocations: 7.938 kB / 1.49 GB, free: 8.859 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6543, allocations: 4 kB / 1.49 GB, free: 8.855 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.6543, allocations: 4 kB / 1.49 GB, free: 8.852 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.765e-05/0.6543, allocations: 7.938 kB / 1.49 GB, free: 8.844 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006977/0.655, allocations: 444.6 kB / 1.49 GB, free: 8.359 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.6551, allocations: 51.78 kB / 1.49 GB, free: 8.309 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.6551, allocations: 7.938 kB / 1.49 GB, free: 8.301 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.6554, allocations: 15.98 kB / 1.49 GB, free: 8.285 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.6554, allocations: 23.91 kB / 1.49 GB, free: 8.262 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.6555, allocations: 8 kB / 1.49 GB, free: 8.254 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002413/0.6557, allocations: 187.1 kB / 1.49 GB, free: 8.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6557, allocations: 0 / 1.49 GB, free: 8.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004885/0.6562, allocations: 107.7 kB / 1.49 GB, free: 7.965 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0003564/0.6565, allocations: 171 kB / 1.491 GB, free: 7.789 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0006013/0.6571, allocations: 237 kB / 1.491 GB, free: 7.559 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.6572, allocations: 8.312 kB / 1.491 GB, free: 7.551 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.6574, allocations: 123.8 kB / 1.491 GB, free: 7.43 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008835/0.6583, allocations: 150.6 kB / 1.491 GB, free: 7.285 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.6595, allocations: 0.6159 MB / 1.492 GB, free: 6.605 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.6598, allocations: 193.1 kB / 1.492 GB, free: 6.398 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002803/0.6601, allocations: 74.92 kB / 1.492 GB, free: 6.324 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.991e-05/0.6602, allocations: 27.44 kB / 1.492 GB, free: 6.297 MB / 1.186 GB Notification: Performance of SimCode: time 6.51e-07/0.6602, allocations: 0 / 1.492 GB, free: 6.297 MB / 1.186 GB Notification: Performance of Templates: time 0.01399/0.6741, allocations: 6.31 MB / 1.498 GB, free: 148 kB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_LosslessPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.452576832845807]