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.001081/0.001081, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.000901/0.000901, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8807/0.8807, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.798/1.798, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.674e-06/1.674e-06, allocations: 3.938 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.405e-05, allocations: 2.281 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5722/0.5722, allocations: 152.9 MB / 1.15 GB, free: 4.227 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.5746, allocations: 1.739 MB / 1.152 GB, free: 3.039 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.5748, allocations: 16.78 kB / 1.152 GB, free: 3.031 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.5754, allocations: 222 kB / 1.152 GB, free: 2.895 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.5769, allocations: 0.7822 MB / 1.153 GB, free: 2.473 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.5784, allocations: 0.8974 MB / 1.154 GB, free: 2.039 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0007963/0.5792, allocations: 0.8299 MB / 1.155 GB, free: 1.645 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.5796, allocations: 216.9 kB / 1.155 GB, free: 1.543 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000965/0.5806, allocations: 0.6867 MB / 1.155 GB, free: 1.25 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.5808, allocations: 239.5 kB / 1.156 GB, free: 1.172 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.031e-05/0.5808, allocations: 26.16 kB / 1.156 GB, free: 1.172 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.582, allocations: 0.909 MB / 1.157 GB, free: 0.8281 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.5821, allocations: 132.6 kB / 1.157 GB, free: 0.7656 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.5823, allocations: 139.8 kB / 1.157 GB, free: 0.7148 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.5833, allocations: 0.9198 MB / 1.158 GB, free: 428 kB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5833, allocations: 3.938 kB / 1.158 GB, free: 424 kB / 1.01 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5834, allocations: 4 kB / 1.158 GB, free: 420 kB / 1.01 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5834, allocations: 1.344 kB / 1.158 GB, free: 420 kB / 1.01 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.001179/0.5845, allocations: 0.7006 MB / 1.158 GB, free: 15.91 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5846, allocations: 12.31 kB / 1.158 GB, free: 15.91 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005599/0.5851, allocations: 162 kB / 1.159 GB, free: 15.88 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.5856, allocations: 300.7 kB / 1.159 GB, free: 15.66 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.5856, allocations: 20.38 kB / 1.159 GB, free: 15.65 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.5856, allocations: 29.59 kB / 1.159 GB, free: 15.64 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007711/0.5864, allocations: 392.3 kB / 1.159 GB, free: 15.46 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5864, allocations: 0 / 1.159 GB, free: 15.46 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.5864, allocations: 19.58 kB / 1.159 GB, free: 15.44 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.5865, allocations: 13.73 kB / 1.159 GB, free: 15.44 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.5869, allocations: 339.3 kB / 1.16 GB, free: 15.33 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.5882, allocations: 1.226 MB / 1.161 GB, free: 14.5 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/0.5885, allocations: 222.4 kB / 1.161 GB, free: 14.42 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.5887, allocations: 133.6 kB / 1.161 GB, free: 14.38 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002472/0.5889, allocations: 73.84 kB / 1.161 GB, free: 14.37 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.589, allocations: 44.66 kB / 1.161 GB, free: 14.32 MB / 1.026 GB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.589, allocations: 0 / 1.161 GB, free: 14.32 MB / 1.026 GB Notification: Performance of matching and sorting (n=20): time 0.0006266/0.5896, allocations: 379.7 kB / 1.162 GB, free: 14.18 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.5896, allocations: 54.56 kB / 1.162 GB, free: 14.12 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.5898, allocations: 262 kB / 1.162 GB, free: 13.97 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.5899, allocations: 34.7 kB / 1.162 GB, free: 13.93 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.59, allocations: 203.1 kB / 1.162 GB, free: 13.76 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.59, allocations: 77.22 kB / 1.162 GB, free: 13.7 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.5901, allocations: 44.5 kB / 1.162 GB, free: 13.67 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.5902, allocations: 338.6 kB / 1.163 GB, free: 13.35 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.5903, allocations: 90.12 kB / 1.163 GB, free: 13.32 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.5905, allocations: 236.2 kB / 1.163 GB, free: 13.14 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.5908, allocations: 259.9 kB / 1.163 GB, free: 13 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.5908, allocations: 4.094 kB / 1.163 GB, free: 13 MB / 1.026 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003735/0.5912, allocations: 297.7 kB / 1.164 GB, free: 12.88 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5912, allocations: 9.938 kB / 1.164 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5912, allocations: 1.469 kB / 1.164 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.5912, allocations: 4.047 kB / 1.164 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.5913, allocations: 48.89 kB / 1.164 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.5914, allocations: 2.875 kB / 1.164 GB, free: 12.88 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.5915, allocations: 25.45 kB / 1.164 GB, free: 12.86 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.5915, allocations: 8.734 kB / 1.164 GB, free: 12.86 MB / 1.026 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.0001289/0.5916, allocations: 161.5 kB / 1.164 GB, free: 12.72 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.673e-05/0.5917, allocations: 37.06 kB / 1.164 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004129/0.5921, allocations: 290.1 kB / 1.164 GB, free: 12.57 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.5921, allocations: 2.469 kB / 1.164 GB, free: 12.57 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5921, allocations: 2.281 kB / 1.164 GB, free: 12.57 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.5921, allocations: 0.75 kB / 1.164 GB, free: 12.57 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.593, allocations: 0.7928 MB / 1.165 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.593, allocations: 2.953 kB / 1.165 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.5931, allocations: 43.7 kB / 1.165 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5931, allocations: 3.812 kB / 1.165 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.5931, allocations: 9.172 kB / 1.165 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.5931, allocations: 6.703 kB / 1.165 GB, free: 12.07 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.5931, allocations: 14.59 kB / 1.165 GB, free: 12.05 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.5935, allocations: 435.6 kB / 1.165 GB, free: 11.75 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 7.398e-05/0.5936, allocations: 55.95 kB / 1.165 GB, free: 11.72 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.5936, allocations: 5.406 kB / 1.165 GB, free: 11.72 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.5937, allocations: 15.16 kB / 1.165 GB, free: 11.72 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.389e-05/0.5938, allocations: 23.05 kB / 1.165 GB, free: 11.71 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.5938, allocations: 11.52 kB / 1.165 GB, free: 11.71 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001385/0.5939, allocations: 187.9 kB / 1.166 GB, free: 11.6 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.5939, allocations: 0 / 1.166 GB, free: 11.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003119/0.5942, allocations: 107.9 kB / 1.166 GB, free: 11.58 MB / 1.026 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.0002494/0.5945, allocations: 159.1 kB / 1.166 GB, free: 11.47 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003897/0.5949, allocations: 232.6 kB / 1.166 GB, free: 11.4 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5949, allocations: 0 / 1.166 GB, free: 11.4 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001731/0.595, allocations: 123.7 kB / 1.166 GB, free: 11.37 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005463/0.5956, allocations: 151.4 kB / 1.166 GB, free: 11.32 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000736/0.5963, allocations: 0.6342 MB / 1.167 GB, free: 10.88 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.5965, allocations: 193.2 kB / 1.167 GB, free: 10.79 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.5966, allocations: 30.58 kB / 1.167 GB, free: 10.78 MB / 1.026 GB Notification: Performance of SimCode: time 4.7e-07/0.5966, allocations: 0 / 1.167 GB, free: 10.78 MB / 1.026 GB Notification: Performance of Templates: time 0.006262/0.6028, allocations: 5.112 MB / 1.172 GB, free: 10.25 MB / 1.026 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/jenkins/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: 8.114257124252617]