Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001796/0.001796, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.00221/0.00221, allocations: 221 kB / 23 MB, free: 4.918 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.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.812/2.812, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [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.00233/0.00233, allocations: 68.94 kB / 1.118 GB, free: 41.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3641/0.3665, allocations: 170 MB / 1.284 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003813/0.3703, allocations: 1.88 MB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006101/0.3764, allocations: 3.3 MB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.3766, allocations: 0 / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003754/0.377, allocations: 63.56 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007013/0.3777, allocations: 127.2 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.3779, allocations: 47.92 kB / 1.289 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004051/0.3783, allocations: 183.2 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.3784, allocations: 21.73 kB / 1.289 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.3787, allocations: 95.56 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.3789, allocations: 75.62 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.379, allocations: 8 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3791, allocations: 39.91 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.3792, allocations: 35.84 kB / 1.29 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3793, allocations: 59.61 kB / 1.29 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.3797, allocations: 175.1 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3797, allocations: 3.984 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3797, allocations: 4 kB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.3797, allocations: 0 / 1.29 GB, free: 5.777 MB / 0.9825 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.001099/0.3808, allocations: 446.8 kB / 1.29 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.3808, allocations: 12.03 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.3813, allocations: 52.75 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.3818, allocations: 201.2 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.3819, allocations: 4.375 kB / 1.29 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3819, allocations: 4.375 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/0.3823, allocations: 149.5 kB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.3823, allocations: 3.938 kB / 1.291 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3823, allocations: 0 / 1.291 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.81e-05/0.3824, allocations: 15.98 kB / 1.291 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.3828, allocations: 131.9 kB / 1.291 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000786/0.3836, allocations: 356.3 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.384, allocations: 166.4 kB / 1.291 GB, free: 4.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3843, allocations: 96.77 kB / 1.291 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3843, allocations: 4 kB / 1.291 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.3844, allocations: 34.56 kB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3844, allocations: 0 / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008658/0.3852, allocations: 291.8 kB / 1.292 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.3853, allocations: 51.41 kB / 1.292 GB, free: 3.672 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/0.3855, allocations: 217 kB / 1.292 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.611e-05/0.3856, allocations: 33.7 kB / 1.292 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.386e-05/0.3856, allocations: 124 kB / 1.292 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.452e-05/0.3857, allocations: 43.64 kB / 1.292 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.3858, allocations: 33.7 kB / 1.292 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3859, allocations: 338.8 kB / 1.292 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3862, allocations: 63.94 kB / 1.292 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002182/0.3864, allocations: 75.88 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.3868, allocations: 156.7 kB / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3868, allocations: 0 / 1.293 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005348/0.3874, allocations: 214.8 kB / 1.293 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3874, allocations: 4 kB / 1.293 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3874, allocations: 4 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.3874, allocations: 4 kB / 1.293 GB, free: 2.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.3876, allocations: 35.95 kB / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3876, allocations: 0 / 1.293 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.3878, allocations: 19.98 kB / 1.293 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.3878, allocations: 4 kB / 1.293 GB, free: 2.285 MB / 0.9825 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.0001276/0.3879, allocations: 130.9 kB / 1.293 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.789e-05/0.388, allocations: 23.86 kB / 1.293 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.388, allocations: 29.77 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.388, allocations: 3.938 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3881, allocations: 0 / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3881, allocations: 0 / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.3883, allocations: 201 kB / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3883, allocations: 0 / 1.293 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3885, allocations: 31.97 kB / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3885, allocations: 0 / 1.293 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.3886, allocations: 11.98 kB / 1.293 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3886, allocations: 4 kB / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3886, allocations: 0 / 1.293 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.3891, allocations: 304.7 kB / 1.294 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.583e-05/0.3892, allocations: 35.84 kB / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.879e-05/0.3893, allocations: 0 / 1.294 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.3894, allocations: 23.97 kB / 1.294 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.099e-05/0.3895, allocations: 7.984 kB / 1.294 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.3895, allocations: 4 kB / 1.294 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001535/0.3897, allocations: 164.5 kB / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3897, allocations: 0 / 1.294 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002799/0.3899, allocations: 35.94 kB / 1.294 GB, free: 1.238 MB / 0.9825 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.0001661/0.3901, allocations: 103.2 kB / 1.294 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005148/0.3906, allocations: 167.8 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3906, allocations: 0 / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.3909, allocations: 87.86 kB / 1.294 GB, free: 0.8789 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3912, allocations: 33.92 kB / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000857/0.3921, allocations: 457.9 kB / 1.295 GB, free: 376 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.3922, allocations: 124 kB / 1.295 GB, free: 224 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.737e-05/0.3923, allocations: 23.42 kB / 1.295 GB, free: 204 kB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3923, allocations: 0 / 1.295 GB, free: 204 kB / 0.9825 GB Notification: Performance of Templates: time 0.005058/0.3973, allocations: 2.397 MB / 1.297 GB, free: 13.82 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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: 11.560573122929782]