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.001356/0.001356, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001514/0.001514, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.36/3.36, allocations: 0.4899 GB / 0.7915 GB, free: 33.53 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.002065/0.002065, allocations: 67.39 kB / 1.149 GB, free: 26.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3793/0.3814, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.2244/0.6058, allocations: 176.9 MB / 1.494 GB, free: 1.309 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.003497/0.6093, allocations: 1.849 MB / 1.496 GB, free: 15.46 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003666/0.6097, allocations: 19.81 kB / 1.496 GB, free: 15.44 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.6104, allocations: 218.5 kB / 1.496 GB, free: 15.22 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.6125, allocations: 0.7856 MB / 1.497 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002549/0.615, allocations: 0.8482 MB / 1.498 GB, free: 13.59 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.6163, allocations: 0.8533 MB / 1.498 GB, free: 12.73 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005228/0.6169, allocations: 247 kB / 1.499 GB, free: 12.48 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.6183, allocations: 0.5839 MB / 1.499 GB, free: 11.9 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003722/0.6186, allocations: 282.8 kB / 1.499 GB, free: 11.62 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 5.71e-05/0.6187, allocations: 28 kB / 1.5 GB, free: 11.59 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.6207, allocations: 1.165 MB / 1.501 GB, free: 10.43 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.6209, allocations: 115.6 kB / 1.501 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.6211, allocations: 211 kB / 1.501 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.6225, allocations: 0.9151 MB / 1.502 GB, free: 9.188 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6225, allocations: 0 / 1.502 GB, free: 9.188 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6225, allocations: 0 / 1.502 GB, free: 9.188 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.6225, allocations: 4 kB / 1.502 GB, free: 9.184 MB / 1.201 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.001873/0.6244, allocations: 0.7898 MB / 1.503 GB, free: 8.344 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6244, allocations: 19.92 kB / 1.503 GB, free: 8.324 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.6255, allocations: 163.5 kB / 1.503 GB, free: 8.164 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.6262, allocations: 370.2 kB / 1.503 GB, free: 7.762 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.6262, allocations: 16.56 kB / 1.503 GB, free: 7.746 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.08e-05/0.6263, allocations: 28 kB / 1.503 GB, free: 7.719 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007457/0.627, allocations: 394.1 kB / 1.504 GB, free: 7.312 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.627, allocations: 4 kB / 1.504 GB, free: 7.309 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.6271, allocations: 12 kB / 1.504 GB, free: 7.297 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.6271, allocations: 12.5 kB / 1.504 GB, free: 7.285 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007752/0.6279, allocations: 342 kB / 1.504 GB, free: 6.949 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002332/0.6302, allocations: 1.788 MB / 1.506 GB, free: 4.992 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.6308, allocations: 380.9 kB / 1.506 GB, free: 4.574 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.6311, allocations: 132.8 kB / 1.506 GB, free: 4.441 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006227/0.6317, allocations: 303.2 kB / 1.506 GB, free: 4.09 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.6317, allocations: 34.56 kB / 1.506 GB, free: 4.047 MB / 1.201 GB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.6317, allocations: 4 kB / 1.507 GB, free: 4.043 MB / 1.201 GB Notification: Performance of matching and sorting (n=20): time 0.001057/0.6328, allocations: 387 kB / 1.507 GB, free: 3.66 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6328, allocations: 51.41 kB / 1.507 GB, free: 3.598 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004655/0.6333, allocations: 357.7 kB / 1.507 GB, free: 3.242 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.6333, allocations: 33.7 kB / 1.507 GB, free: 3.203 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.6335, allocations: 196.4 kB / 1.507 GB, free: 3.008 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/0.6336, allocations: 79.31 kB / 1.508 GB, free: 2.93 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.537e-05/0.6337, allocations: 45.7 kB / 1.508 GB, free: 2.879 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.6339, allocations: 350.7 kB / 1.508 GB, free: 2.527 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.6341, allocations: 91.92 kB / 1.508 GB, free: 2.438 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.6344, allocations: 157.4 kB / 1.508 GB, free: 2.266 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.6349, allocations: 251.3 kB / 1.508 GB, free: 2 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6349, allocations: 3.938 kB / 1.508 GB, free: 1.996 MB / 1.201 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006334/0.6356, allocations: 307.2 kB / 1.509 GB, free: 1.691 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.6356, allocations: 8 kB / 1.509 GB, free: 1.684 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.6356, allocations: 4.188 kB / 1.509 GB, free: 1.68 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.6356, allocations: 4 kB / 1.509 GB, free: 1.676 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.6359, allocations: 51.91 kB / 1.509 GB, free: 1.625 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.6359, allocations: 4 kB / 1.509 GB, free: 1.621 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.6361, allocations: 39.75 kB / 1.509 GB, free: 1.582 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.6362, allocations: 8 kB / 1.509 GB, free: 1.574 MB / 1.201 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.000199/0.6364, allocations: 157.7 kB / 1.509 GB, free: 1.41 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.6364, allocations: 35.77 kB / 1.509 GB, free: 1.375 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007122/0.6372, allocations: 308.9 kB / 1.509 GB, free: 1.07 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6372, allocations: 0 / 1.509 GB, free: 1.07 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6372, allocations: 3.938 kB / 1.509 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6372, allocations: 0 / 1.509 GB, free: 1.066 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.6387, allocations: 0.8938 MB / 1.51 GB, free: 84 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6387, allocations: 8.062 kB / 1.51 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.6389, allocations: 39.91 kB / 1.51 GB, free: 36 kB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.6389, allocations: 4 kB / 1.51 GB, free: 32 kB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.639, allocations: 11.98 kB / 1.51 GB, free: 20 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.639, allocations: 4 kB / 1.51 GB, free: 16 kB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.639, allocations: 4 kB / 1.51 GB, free: 12 kB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.6397, allocations: 450.4 kB / 1.511 GB, free: 15.52 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.6399, allocations: 140.8 kB / 1.511 GB, free: 15.37 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.6399, allocations: 8 kB / 1.511 GB, free: 15.36 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.6401, allocations: 11.98 kB / 1.511 GB, free: 15.35 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.533e-05/0.6402, allocations: 27.86 kB / 1.511 GB, free: 15.32 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.6402, allocations: 8 kB / 1.511 GB, free: 15.31 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003265/0.6406, allocations: 259.1 kB / 1.511 GB, free: 15.06 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6406, allocations: 0 / 1.511 GB, free: 15.06 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00052/0.6411, allocations: 99.89 kB / 1.511 GB, free: 14.96 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.0003374/0.6414, allocations: 163.1 kB / 1.511 GB, free: 14.79 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000607/0.642, allocations: 235.7 kB / 1.512 GB, free: 14.56 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.642, allocations: 96 / 1.512 GB, free: 14.56 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.6423, allocations: 124.8 kB / 1.512 GB, free: 14.44 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.6434, allocations: 210.7 kB / 1.512 GB, free: 14.23 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.6446, allocations: 0.6441 MB / 1.513 GB, free: 13.53 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.6451, allocations: 0.7957 MB / 1.513 GB, free: 12.71 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002881/0.6454, allocations: 95.2 kB / 1.513 GB, free: 12.62 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6455, allocations: 35.44 kB / 1.513 GB, free: 12.58 MB / 1.217 GB Notification: Performance of SimCode: time 6.92e-07/0.6455, allocations: 3.938 kB / 1.513 GB, free: 12.58 MB / 1.217 GB Notification: Performance of Templates: time 0.01512/0.6606, allocations: 7.314 MB / 1.521 GB, free: 5.383 MB / 1.217 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: 9.676685589831322]