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.00211/0.00211, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.003307/0.003307, allocations: 159.1 kB / 22.46 MB, free: 5.375 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.547/1.547, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.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 2.96/2.96, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] 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.823e-06/1.823e-06, allocations: 0 / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.878e-05/3.061e-05, allocations: 6.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.LosslessPipe): time 1.119/1.119, allocations: 152.9 MB / 1.149 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003041/1.122, allocations: 1.734 MB / 1.151 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/1.122, allocations: 21.34 kB / 1.151 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007276/1.123, allocations: 215.7 kB / 1.151 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001906/1.125, allocations: 0.7841 MB / 1.152 GB, free: 45.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/1.127, allocations: 0.8947 MB / 1.153 GB, free: 45.08 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001272/1.128, allocations: 0.8358 MB / 1.154 GB, free: 45.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/1.129, allocations: 216 kB / 1.154 GB, free: 45.06 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001314/1.13, allocations: 0.6946 MB / 1.155 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002935/1.13, allocations: 235.8 kB / 1.155 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.233e-05/1.13, allocations: 26.72 kB / 1.155 GB, free: 45.05 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/1.132, allocations: 0.8995 MB / 1.156 GB, free: 45 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001448/1.132, allocations: 139.8 kB / 1.156 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/1.132, allocations: 136.1 kB / 1.156 GB, free: 44.96 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/1.134, allocations: 0.9194 MB / 1.157 GB, free: 44.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/1.134, allocations: 0.8438 kB / 1.157 GB, free: 44.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.403e-06/1.134, allocations: 0 / 1.157 GB, free: 44.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.053e-06/1.134, allocations: 0 / 1.157 GB, free: 44.88 MB / 1.076 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.001621/1.135, allocations: 0.7057 MB / 1.158 GB, free: 44.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.135, allocations: 12.08 kB / 1.158 GB, free: 44.44 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/1.136, allocations: 161.2 kB / 1.158 GB, free: 44.42 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005507/1.137, allocations: 288.6 kB / 1.158 GB, free: 44.25 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/1.137, allocations: 28.61 kB / 1.158 GB, free: 44.25 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.487e-05/1.137, allocations: 30.08 kB / 1.158 GB, free: 44.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/1.138, allocations: 393.2 kB / 1.159 GB, free: 44.17 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/1.138, allocations: 0 / 1.159 GB, free: 44.17 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.436e-05/1.138, allocations: 13.56 kB / 1.159 GB, free: 44.17 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/1.138, allocations: 15 kB / 1.159 GB, free: 44.17 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/1.138, allocations: 340.5 kB / 1.159 GB, free: 44.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/1.14, allocations: 1.237 MB / 1.16 GB, free: 43.54 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/1.14, allocations: 227.8 kB / 1.16 GB, free: 43.51 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002299/1.141, allocations: 127.5 kB / 1.16 GB, free: 43.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004418/1.141, allocations: 72.52 kB / 1.161 GB, free: 43.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/1.141, allocations: 34.59 kB / 1.161 GB, free: 43.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=20): time 1.623e-06/1.141, allocations: 0 / 1.161 GB, free: 43.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=20): time 0.0009121/1.142, allocations: 383.3 kB / 1.161 GB, free: 43.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/1.142, allocations: 65.67 kB / 1.161 GB, free: 43.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/1.142, allocations: 264.1 kB / 1.161 GB, free: 43.24 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/1.142, allocations: 29.8 kB / 1.161 GB, free: 43.21 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/1.142, allocations: 204.8 kB / 1.161 GB, free: 43.07 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/1.142, allocations: 72.48 kB / 1.162 GB, free: 43.03 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/1.143, allocations: 49.22 kB / 1.162 GB, free: 43.01 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.371e-05/1.143, allocations: 333.8 kB / 1.162 GB, free: 42.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/1.143, allocations: 97.69 kB / 1.162 GB, free: 42.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/1.143, allocations: 230.6 kB / 1.162 GB, free: 42.55 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/1.143, allocations: 249.6 kB / 1.162 GB, free: 42.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.143, allocations: 3.906 kB / 1.162 GB, free: 42.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005339/1.144, allocations: 300.5 kB / 1.163 GB, free: 42.45 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.144, allocations: 6.625 kB / 1.163 GB, free: 42.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.144, allocations: 2.594 kB / 1.163 GB, free: 42.45 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.144, allocations: 3.938 kB / 1.163 GB, free: 42.45 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002527/1.144, allocations: 49.53 kB / 1.163 GB, free: 42.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/1.144, allocations: 7.656 kB / 1.163 GB, free: 42.44 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.145, allocations: 27.09 kB / 1.163 GB, free: 42.43 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/1.145, allocations: 12.19 kB / 1.163 GB, free: 42.43 MB / 1.076 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.0001321/1.145, allocations: 157.9 kB / 1.163 GB, free: 42.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.159e-05/1.145, allocations: 30.69 kB / 1.163 GB, free: 42.3 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00059/1.145, allocations: 297.1 kB / 1.163 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/1.145, allocations: 7.531 kB / 1.163 GB, free: 42.26 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.145, allocations: 3.938 kB / 1.163 GB, free: 42.25 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.145, allocations: 0 / 1.163 GB, free: 42.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/1.147, allocations: 0.7911 MB / 1.164 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.147, allocations: 3.781 kB / 1.164 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/1.147, allocations: 41.92 kB / 1.164 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/1.147, allocations: 3.688 kB / 1.164 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.147, allocations: 9.531 kB / 1.164 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/1.147, allocations: 7.344 kB / 1.164 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.147, allocations: 6.312 kB / 1.164 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/1.147, allocations: 442.7 kB / 1.165 GB, free: 41.68 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/1.147, allocations: 54.08 kB / 1.165 GB, free: 41.67 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/1.147, allocations: 8.781 kB / 1.165 GB, free: 41.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/1.148, allocations: 16.56 kB / 1.165 GB, free: 41.67 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/1.148, allocations: 21.83 kB / 1.165 GB, free: 41.66 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/1.148, allocations: 11.94 kB / 1.165 GB, free: 41.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001656/1.148, allocations: 184.2 kB / 1.165 GB, free: 41.58 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.148, allocations: 0 / 1.165 GB, free: 41.58 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004611/1.148, allocations: 104.1 kB / 1.165 GB, free: 41.57 MB / 1.076 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.0002984/1.149, allocations: 164.8 kB / 1.165 GB, free: 41.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005328/1.149, allocations: 231.8 kB / 1.165 GB, free: 41.47 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.149, allocations: 3.594 kB / 1.165 GB, free: 41.47 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/1.149, allocations: 122 kB / 1.165 GB, free: 41.47 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008356/1.15, allocations: 140.2 kB / 1.166 GB, free: 41.46 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009459/1.151, allocations: 0.6037 MB / 1.166 GB, free: 41.11 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/1.151, allocations: 192.2 kB / 1.166 GB, free: 41.03 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002375/1.152, allocations: 77.84 kB / 1.166 GB, free: 41.02 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-05/1.152, allocations: 25.25 kB / 1.167 GB, free: 41.01 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/1.152, allocations: 0 / 1.167 GB, free: 41.01 MB / 1.076 GB Notification: Performance of Templates: time 0.01152/1.163, allocations: 5.53 MB / 1.172 GB, free: 40.66 MB / 1.076 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: 10.08370953798294]