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.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.001699/0.001699, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002189/0.002189, allocations: 222.3 kB / 23 MB, free: 4.914 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.404/3.404, allocations: 0.5107 GB / 0.8166 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002486/0.002486, allocations: 64.02 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3955, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2066/0.6021, allocations: 153.1 MB / 1.514 GB, free: 3.941 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.6058, allocations: 1.749 MB / 1.516 GB, free: 2.188 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.6062, allocations: 19.81 kB / 1.516 GB, free: 2.168 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007987/0.607, allocations: 218.5 kB / 1.516 GB, free: 1.953 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002105/0.6091, allocations: 0.7622 MB / 1.517 GB, free: 1.188 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.6113, allocations: 0.8632 MB / 1.518 GB, free: 332 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.6126, allocations: 0.8493 MB / 1.518 GB, free: 15.47 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004887/0.6131, allocations: 236.9 kB / 1.519 GB, free: 15.24 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.6145, allocations: 0.5917 MB / 1.519 GB, free: 14.64 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003832/0.6149, allocations: 262.8 kB / 1.519 GB, free: 14.39 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.654e-05/0.6149, allocations: 28 kB / 1.52 GB, free: 14.36 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.6168, allocations: 0.8842 MB / 1.52 GB, free: 13.47 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.617, allocations: 131.5 kB / 1.521 GB, free: 13.34 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002218/0.6172, allocations: 175.2 kB / 1.521 GB, free: 13.17 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.6188, allocations: 0.8722 MB / 1.522 GB, free: 12.3 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.6189, allocations: 3.984 kB / 1.522 GB, free: 12.29 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.683e-06/0.6189, allocations: 4 kB / 1.522 GB, free: 12.29 MB / 1.217 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.6189, allocations: 0 / 1.522 GB, free: 12.29 MB / 1.217 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.001809/0.6207, allocations: 0.7145 MB / 1.522 GB, free: 11.54 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.6207, allocations: 8.031 kB / 1.522 GB, free: 11.54 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.6217, allocations: 167.5 kB / 1.522 GB, free: 11.37 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007395/0.6225, allocations: 295.7 kB / 1.523 GB, free: 11.06 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.6225, allocations: 20.66 kB / 1.523 GB, free: 11.04 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.6226, allocations: 31.98 kB / 1.523 GB, free: 11.01 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.6233, allocations: 391.5 kB / 1.523 GB, free: 10.6 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.6234, allocations: 3.938 kB / 1.523 GB, free: 10.6 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.481e-05/0.6234, allocations: 12 kB / 1.523 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.6234, allocations: 16.59 kB / 1.523 GB, free: 10.57 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007474/0.6242, allocations: 346.3 kB / 1.523 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.6263, allocations: 1.23 MB / 1.525 GB, free: 8.949 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005189/0.6268, allocations: 222.7 kB / 1.525 GB, free: 8.723 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.6271, allocations: 143.5 kB / 1.525 GB, free: 8.582 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004724/0.6275, allocations: 71.92 kB / 1.525 GB, free: 8.512 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.6276, allocations: 34.56 kB / 1.525 GB, free: 8.469 MB / 1.217 GB Notification: Performance of pre-optimization done (n=20): time 2.244e-06/0.6276, allocations: 0 / 1.525 GB, free: 8.469 MB / 1.217 GB Notification: Performance of matching and sorting (n=20): time 0.001023/0.6286, allocations: 379.1 kB / 1.525 GB, free: 8.094 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.6287, allocations: 55.41 kB / 1.526 GB, free: 8.027 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003333/0.629, allocations: 272.1 kB / 1.526 GB, free: 7.754 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.629, allocations: 33.7 kB / 1.526 GB, free: 7.715 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.6292, allocations: 212.4 kB / 1.526 GB, free: 7.5 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.6293, allocations: 67.39 kB / 1.526 GB, free: 7.434 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.6294, allocations: 45.7 kB / 1.526 GB, free: 7.383 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.6295, allocations: 338.8 kB / 1.526 GB, free: 7.043 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.6298, allocations: 87.94 kB / 1.527 GB, free: 6.957 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/0.6301, allocations: 241.2 kB / 1.527 GB, free: 6.684 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.6306, allocations: 248.4 kB / 1.527 GB, free: 6.422 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6306, allocations: 7.938 kB / 1.527 GB, free: 6.414 MB / 1.217 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006209/0.6313, allocations: 301.2 kB / 1.527 GB, free: 6.113 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.6313, allocations: 8 kB / 1.527 GB, free: 6.105 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.6313, allocations: 0 / 1.527 GB, free: 6.105 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6313, allocations: 4.047 kB / 1.527 GB, free: 6.102 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.6316, allocations: 51.89 kB / 1.527 GB, free: 6.051 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.6316, allocations: 4 kB / 1.527 GB, free: 6.047 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.6318, allocations: 28.06 kB / 1.527 GB, free: 6.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.6318, allocations: 15.94 kB / 1.527 GB, free: 6.004 MB / 1.217 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.0001922/0.632, allocations: 157.8 kB / 1.528 GB, free: 5.84 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.316e-05/0.6321, allocations: 31.81 kB / 1.528 GB, free: 5.809 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/0.6327, allocations: 293.8 kB / 1.528 GB, free: 5.516 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6328, allocations: 4 kB / 1.528 GB, free: 5.512 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.6328, allocations: 0 / 1.528 GB, free: 5.512 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6328, allocations: 3.984 kB / 1.528 GB, free: 5.508 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.6342, allocations: 0.7918 MB / 1.529 GB, free: 4.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.6343, allocations: 4 kB / 1.529 GB, free: 4.641 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.6345, allocations: 44.25 kB / 1.529 GB, free: 4.598 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.6345, allocations: 7.938 kB / 1.529 GB, free: 4.59 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.6345, allocations: 16.08 kB / 1.529 GB, free: 4.574 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.6345, allocations: 7.938 kB / 1.529 GB, free: 4.566 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.6345, allocations: 3.938 kB / 1.529 GB, free: 4.562 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006799/0.6352, allocations: 444.5 kB / 1.529 GB, free: 4.078 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.6353, allocations: 51.77 kB / 1.529 GB, free: 4.027 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.6354, allocations: 11.94 kB / 1.529 GB, free: 4.016 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.6356, allocations: 19.98 kB / 1.529 GB, free: 3.996 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.6356, allocations: 11.98 kB / 1.529 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.6357, allocations: 15.98 kB / 1.529 GB, free: 3.969 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002268/0.6359, allocations: 187.1 kB / 1.529 GB, free: 3.785 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6359, allocations: 3.938 kB / 1.529 GB, free: 3.781 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004959/0.6364, allocations: 111.7 kB / 1.53 GB, free: 3.672 MB / 1.217 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.0003051/0.6367, allocations: 163 kB / 1.53 GB, free: 3.504 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.6373, allocations: 233.7 kB / 1.53 GB, free: 3.277 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6373, allocations: 0 / 1.53 GB, free: 3.277 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002984/0.6376, allocations: 128.8 kB / 1.53 GB, free: 3.152 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008633/0.6384, allocations: 144.6 kB / 1.53 GB, free: 3.012 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.6396, allocations: 0.6545 MB / 1.531 GB, free: 2.285 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.6398, allocations: 197.1 kB / 1.531 GB, free: 2.078 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6399, allocations: 27.42 kB / 1.531 GB, free: 2.051 MB / 1.217 GB Notification: Performance of SimCode: time 4.6e-07/0.6399, allocations: 0 / 1.531 GB, free: 2.051 MB / 1.217 GB Notification: Performance of Templates: time 0.009229/0.6491, allocations: 5.195 MB / 1.536 GB, free: 12.89 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.921267050784081]