Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 192.6 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.891/2.891, allocations: 0.4893 GB / 0.7884 GB, free: 33.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 63.91 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2992, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003046/0.3023, allocations: 1.897 MB / 1.318 GB, free: 7.801 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004277/0.3066, allocations: 3.657 MB / 1.321 GB, free: 4.121 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.3067, allocations: 0 / 1.321 GB, free: 4.121 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007535/0.3074, allocations: 195.2 kB / 1.322 GB, free: 3.93 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.3076, allocations: 83.45 kB / 1.322 GB, free: 3.848 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.293e-05/0.3077, allocations: 23.97 kB / 1.322 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0004583/0.3081, allocations: 271.1 kB / 1.322 GB, free: 3.559 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.3082, allocations: 21.73 kB / 1.322 GB, free: 3.539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.3083, allocations: 75.7 kB / 1.322 GB, free: 3.465 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.3085, allocations: 79.61 kB / 1.322 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.3085, allocations: 8 kB / 1.322 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.849e-05/0.3086, allocations: 27.98 kB / 1.322 GB, free: 3.352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.3086, allocations: 59.81 kB / 1.322 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 9.854e-05/0.3087, allocations: 91.36 kB / 1.322 GB, free: 3.203 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.309, allocations: 191 kB / 1.323 GB, free: 3.016 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.309, allocations: 0 / 1.323 GB, free: 3.016 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.082e-06/0.309, allocations: 0 / 1.323 GB, free: 3.016 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.309, allocations: 0 / 1.323 GB, free: 3.016 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008947/0.3099, allocations: 468.8 kB / 1.323 GB, free: 2.527 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.3099, allocations: 16.03 kB / 1.323 GB, free: 2.512 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.791e-05/0.31, allocations: 24.78 kB / 1.323 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003248/0.3103, allocations: 189.6 kB / 1.323 GB, free: 2.281 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3103, allocations: 8.375 kB / 1.323 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/0.3104, allocations: 384 / 1.323 GB, free: 2.273 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004134/0.3108, allocations: 145.7 kB / 1.323 GB, free: 2.125 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3108, allocations: 4 kB / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3108, allocations: 0 / 1.323 GB, free: 2.121 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.3108, allocations: 15.89 kB / 1.323 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.3113, allocations: 139.9 kB / 1.323 GB, free: 1.969 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007177/0.312, allocations: 431.6 kB / 1.324 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004148/0.3124, allocations: 166.4 kB / 1.324 GB, free: 1.332 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002732/0.3127, allocations: 105 kB / 1.324 GB, free: 1.227 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.3127, allocations: 8 kB / 1.324 GB, free: 1.219 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.3127, allocations: 34.5 kB / 1.324 GB, free: 1.176 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3127, allocations: 0 / 1.324 GB, free: 1.176 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0008466/0.3136, allocations: 304.6 kB / 1.324 GB, free: 0.875 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3136, allocations: 55.41 kB / 1.325 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.3139, allocations: 241.9 kB / 1.325 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.3139, allocations: 29.7 kB / 1.325 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.151e-05/0.314, allocations: 132.1 kB / 1.325 GB, free: 404 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.314, allocations: 47.58 kB / 1.325 GB, free: 356 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.3141, allocations: 33.7 kB / 1.325 GB, free: 316 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3142, allocations: 334.8 kB / 1.325 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.3145, allocations: 71.94 kB / 1.325 GB, free: 15.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.3147, allocations: 79.94 kB / 1.325 GB, free: 15.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004621/0.3152, allocations: 172.7 kB / 1.326 GB, free: 15.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3152, allocations: 0 / 1.326 GB, free: 15.65 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005359/0.3157, allocations: 220.7 kB / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.3157, allocations: 4 kB / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3157, allocations: 0 / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3157, allocations: 0 / 1.326 GB, free: 15.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.316, allocations: 31.97 kB / 1.326 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.316, allocations: 7.984 kB / 1.326 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.3161, allocations: 19.94 kB / 1.326 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3162, allocations: 0 / 1.326 GB, free: 15.37 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001216/0.3163, allocations: 150.6 kB / 1.326 GB, free: 15.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.3163, allocations: 19.86 kB / 1.326 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.596e-05/0.3164, allocations: 29.77 kB / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3164, allocations: 4 kB / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3164, allocations: 0 / 1.326 GB, free: 15.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.3164, allocations: 7.969 kB / 1.326 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.3167, allocations: 244.5 kB / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3167, allocations: 0 / 1.326 GB, free: 14.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.3169, allocations: 35.97 kB / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3169, allocations: 0 / 1.326 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.317, allocations: 11.98 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.317, allocations: 3.938 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.317, allocations: 3.938 kB / 1.326 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.3175, allocations: 319.2 kB / 1.327 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-05/0.3176, allocations: 47.77 kB / 1.327 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3177, allocations: 0 / 1.327 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.3179, allocations: 15.98 kB / 1.327 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.3179, allocations: 7.984 kB / 1.327 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3179, allocations: 11.98 kB / 1.327 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001571/0.3181, allocations: 181.2 kB / 1.327 GB, free: 14.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3181, allocations: 7.938 kB / 1.327 GB, free: 14.22 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002616/0.3183, allocations: 39.94 kB / 1.327 GB, free: 14.18 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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.0001559/0.3185, allocations: 107.7 kB / 1.327 GB, free: 14.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005316/0.319, allocations: 167.9 kB / 1.327 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.319, allocations: 4 kB / 1.327 GB, free: 13.9 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.3193, allocations: 95.86 kB / 1.327 GB, free: 13.81 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/0.3197, allocations: 47.12 kB / 1.327 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000846/0.3206, allocations: 471.3 kB / 1.328 GB, free: 13.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.3209, allocations: 0.7474 MB / 1.329 GB, free: 12.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001532/0.3211, allocations: 49.38 kB / 1.329 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.3211, allocations: 23.42 kB / 1.329 GB, free: 12.43 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3211, allocations: 0 / 1.329 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Templates: time 0.005991/0.3271, allocations: 2.583 MB / 1.331 GB, free: 9.895 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 7.895656434819102]