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.001723/0.001723, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.001565/0.001565, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.452/1.452, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.673/2.673, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 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.002304/0.002304, allocations: 66.23 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3032, allocations: 169.9 MB / 1.117 GB, free: 2.562 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003565/0.3067, allocations: 1.882 MB / 1.119 GB, free: 0.668 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004664/0.3114, allocations: 3.312 MB / 1.123 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.3116, allocations: 0 / 1.123 GB, free: 13.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.3118, allocations: 51.64 kB / 1.123 GB, free: 13.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0004985/0.3123, allocations: 131.1 kB / 1.123 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.3125, allocations: 59.91 kB / 1.123 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.3128, allocations: 175.2 kB / 1.123 GB, free: 12.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3129, allocations: 21.78 kB / 1.123 GB, free: 12.91 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.3131, allocations: 95.62 kB / 1.123 GB, free: 12.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.3133, allocations: 79.55 kB / 1.123 GB, free: 12.74 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.916e-05/0.3133, allocations: 8 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3134, allocations: 27.98 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 7.382e-05/0.3135, allocations: 43.77 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 8.522e-05/0.3136, allocations: 59.67 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002692/0.3139, allocations: 175.2 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3139, allocations: 3.938 kB / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3139, allocations: 0 / 1.123 GB, free: 12.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.3139, allocations: 4 kB / 1.123 GB, free: 12.42 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00089/0.3148, allocations: 445 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3148, allocations: 16.02 kB / 1.124 GB, free: 11.94 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003795/0.3152, allocations: 56.7 kB / 1.124 GB, free: 11.89 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.3157, allocations: 201.6 kB / 1.124 GB, free: 11.67 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3157, allocations: 4.375 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.3157, allocations: 4.375 kB / 1.124 GB, free: 11.66 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.3161, allocations: 141.4 kB / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3161, allocations: 0 / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.3161, allocations: 0 / 1.124 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.3161, allocations: 19.92 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004525/0.3166, allocations: 127.9 kB / 1.124 GB, free: 11.37 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007172/0.3173, allocations: 372.3 kB / 1.125 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.3177, allocations: 154.4 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002671/0.318, allocations: 92.78 kB / 1.125 GB, free: 10.72 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.318, allocations: 12 kB / 1.125 GB, free: 10.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.318, allocations: 30.56 kB / 1.125 GB, free: 10.67 MB / 1.076 GB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.318, allocations: 0 / 1.125 GB, free: 10.67 MB / 1.076 GB Notification: Performance of matching and sorting (n=13): time 0.0008447/0.3189, allocations: 266.5 kB / 1.125 GB, free: 10.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.3189, allocations: 63.64 kB / 1.125 GB, free: 10.33 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.3192, allocations: 221.7 kB / 1.126 GB, free: 10.11 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3192, allocations: 25.7 kB / 1.126 GB, free: 10.07 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.148e-05/0.3193, allocations: 132 kB / 1.126 GB, free: 9.941 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.3193, allocations: 47.62 kB / 1.126 GB, free: 9.895 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.3194, allocations: 33.64 kB / 1.126 GB, free: 9.855 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.3196, allocations: 334.8 kB / 1.126 GB, free: 9.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3198, allocations: 71.94 kB / 1.126 GB, free: 9.449 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.32, allocations: 72.44 kB / 1.126 GB, free: 9.379 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000461/0.3205, allocations: 161.8 kB / 1.126 GB, free: 9.219 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3205, allocations: 0 / 1.126 GB, free: 9.219 MB / 1.076 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005581/0.321, allocations: 217 kB / 1.127 GB, free: 9.004 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3211, allocations: 4 kB / 1.127 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3211, allocations: 0 / 1.127 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.3211, allocations: 0 / 1.127 GB, free: 9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.3213, allocations: 35.91 kB / 1.127 GB, free: 8.965 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3213, allocations: 4 kB / 1.127 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.3215, allocations: 23.92 kB / 1.127 GB, free: 8.938 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.3215, allocations: 7.984 kB / 1.127 GB, free: 8.93 MB / 1.076 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.0001143/0.3216, allocations: 125.8 kB / 1.127 GB, free: 8.797 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.3217, allocations: 19.86 kB / 1.127 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.588e-05/0.3217, allocations: 33.77 kB / 1.127 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3217, allocations: 4 kB / 1.127 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3217, allocations: 0 / 1.127 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.3217, allocations: 0 / 1.127 GB, free: 8.742 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.322, allocations: 185.1 kB / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.322, allocations: 4 kB / 1.127 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.3222, allocations: 39.89 kB / 1.127 GB, free: 8.488 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3222, allocations: 0 / 1.127 GB, free: 8.488 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3222, allocations: 8 kB / 1.127 GB, free: 8.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3222, allocations: 0 / 1.127 GB, free: 8.48 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3222, allocations: 0 / 1.127 GB, free: 8.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.3229, allocations: 307.2 kB / 1.127 GB, free: 8.164 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.726e-05/0.323, allocations: 43.8 kB / 1.127 GB, free: 8.121 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.323, allocations: 0 / 1.127 GB, free: 8.121 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/0.3232, allocations: 15.98 kB / 1.127 GB, free: 8.105 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.3232, allocations: 7.984 kB / 1.127 GB, free: 8.098 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3232, allocations: 11.92 kB / 1.127 GB, free: 8.086 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001603/0.3234, allocations: 165.2 kB / 1.128 GB, free: 7.926 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3234, allocations: 4 kB / 1.128 GB, free: 7.922 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002803/0.3237, allocations: 36 kB / 1.128 GB, free: 7.887 MB / 1.076 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.0001402/0.3238, allocations: 99.25 kB / 1.128 GB, free: 7.781 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005361/0.3244, allocations: 167.8 kB / 1.128 GB, free: 7.617 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3244, allocations: 0 / 1.128 GB, free: 7.617 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.3246, allocations: 83.94 kB / 1.128 GB, free: 7.535 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.325, allocations: 36.34 kB / 1.128 GB, free: 7.5 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008841/0.3258, allocations: 431.9 kB / 1.128 GB, free: 7.055 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/0.326, allocations: 124 kB / 1.129 GB, free: 6.906 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.3261, allocations: 45.11 kB / 1.129 GB, free: 6.863 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.018e-05/0.3262, allocations: 20.48 kB / 1.129 GB, free: 6.844 MB / 1.076 GB Notification: Performance of SimCode: time 4.21e-07/0.3262, allocations: 4 kB / 1.129 GB, free: 6.84 MB / 1.076 GB Notification: Performance of Templates: time 0.005258/0.3314, allocations: 1.727 MB / 1.13 GB, free: 5.148 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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: 8.55412788700778]