Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001915/0.001915, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002724/0.002724, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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 1.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.957/2.957, allocations: 377.8 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 0.8108 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.785e-05/4.065e-05, allocations: 3.078 kB / 0.8108 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.005186/0.005227, allocations: 1.839 MB / 0.8126 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.006491/0.01172, allocations: 3.408 MB / 0.8159 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.01192, allocations: 7.938 kB / 0.8159 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.01299, allocations: 166.2 kB / 0.8161 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.01338, allocations: 81.89 kB / 0.8162 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.01359, allocations: 55.91 kB / 0.8162 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0007243/0.01431, allocations: 267.7 kB / 0.8165 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.01444, allocations: 22.31 kB / 0.8165 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.01469, allocations: 97.44 kB / 0.8166 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.01488, allocations: 63.81 kB / 0.8167 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.612e-05/0.01492, allocations: 8 kB / 0.8167 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.01505, allocations: 35.78 kB / 0.8167 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.01516, allocations: 60.48 kB / 0.8168 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.01528, allocations: 56.91 kB / 0.8168 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.01566, allocations: 187.3 kB / 0.817 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.01566, allocations: 0 / 0.817 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01567, allocations: 1.125 kB / 0.817 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.01567, allocations: 0 / 0.817 GB, free: 10.62 MB / 0.7292 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.001106/0.01678, allocations: 470.2 kB / 0.8174 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01682, allocations: 8.031 kB / 0.8174 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/0.01732, allocations: 67.53 kB / 0.8175 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/0.01786, allocations: 200.8 kB / 0.8177 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.01787, allocations: 4.375 kB / 0.8177 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.01789, allocations: 5.062 kB / 0.8177 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.01832, allocations: 140.5 kB / 0.8178 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.01833, allocations: 192 / 0.8178 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.01835, allocations: 4.125 kB / 0.8178 GB, free: 9.688 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.01839, allocations: 11.98 kB / 0.8179 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.01887, allocations: 141.7 kB / 0.818 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008446/0.01971, allocations: 365.3 kB / 0.8183 GB, free: 9.152 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004675/0.02018, allocations: 161.1 kB / 0.8185 GB, free: 8.988 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.02045, allocations: 102.1 kB / 0.8186 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.02047, allocations: 0 / 0.8186 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.02051, allocations: 38.56 kB / 0.8186 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 7.71e-07/0.02051, allocations: 0.7188 kB / 0.8186 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0009702/0.02148, allocations: 284.5 kB / 0.8189 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.02154, allocations: 55.41 kB / 0.819 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.02184, allocations: 245.9 kB / 0.8192 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.02187, allocations: 25.7 kB / 0.8192 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.022, allocations: 136.1 kB / 0.8193 GB, free: 8.074 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.609e-05/0.02207, allocations: 47.61 kB / 0.8194 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.02215, allocations: 27.67 kB / 0.8194 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.02235, allocations: 338.8 kB / 0.8197 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.02259, allocations: 68.12 kB / 0.8198 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.02283, allocations: 81.98 kB / 0.8199 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.02332, allocations: 154.4 kB / 0.82 GB, free: 7.363 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.02332, allocations: 4 kB / 0.82 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006241/0.02395, allocations: 219.8 kB / 0.8202 GB, free: 7.141 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.02397, allocations: 4 kB / 0.8202 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.02398, allocations: 0 / 0.8202 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.02401, allocations: 5.812 kB / 0.8202 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002829/0.02429, allocations: 39.89 kB / 0.8203 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.0243, allocations: 4 kB / 0.8203 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.02448, allocations: 16.52 kB / 0.8203 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.02451, allocations: 9.391 kB / 0.8203 GB, free: 7.066 MB / 0.7292 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.000176/0.02468, allocations: 133.8 kB / 0.8204 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.729e-05/0.02477, allocations: 31.75 kB / 0.8205 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.238e-05/0.02485, allocations: 37.77 kB / 0.8205 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.02486, allocations: 7.938 kB / 0.8205 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.02487, allocations: 0 / 0.8205 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02487, allocations: 0 / 0.8205 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.02521, allocations: 189.2 kB / 0.8207 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.02522, allocations: 0 / 0.8207 GB, free: 6.633 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.02545, allocations: 43.83 kB / 0.8207 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.02546, allocations: 0 / 0.8207 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.02547, allocations: 4 kB / 0.8207 GB, free: 6.586 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.02548, allocations: 8 kB / 0.8207 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02548, allocations: 0 / 0.8207 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008157/0.02629, allocations: 307.3 kB / 0.821 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.02641, allocations: 47.7 kB / 0.8211 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.424e-05/0.02644, allocations: 0 / 0.8211 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.02663, allocations: 15.98 kB / 0.8211 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/0.02672, allocations: 15.97 kB / 0.8211 GB, free: 6.184 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.02673, allocations: 4 kB / 0.8211 GB, free: 6.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000231/0.02696, allocations: 185.1 kB / 0.8213 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.02696, allocations: 0 / 0.8213 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003221/0.02729, allocations: 35.95 kB / 0.8213 GB, free: 5.969 MB / 0.7292 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.0002464/0.02753, allocations: 107.2 kB / 0.8214 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.02813, allocations: 171.8 kB / 0.8216 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.02813, allocations: 0 / 0.8216 GB, free: 5.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.0284, allocations: 83.92 kB / 0.8217 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.02888, allocations: 56.39 kB / 0.8217 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.02996, allocations: 447.2 kB / 0.8222 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/0.03013, allocations: 136.1 kB / 0.8223 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001956/0.03033, allocations: 53.42 kB / 0.8223 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.0304, allocations: 16.5 kB / 0.8224 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/0.0304, allocations: 3.938 kB / 0.8224 GB, free: 4.855 MB / 0.7292 GB Notification: Performance of Templates: time 0.007336/0.03774, allocations: 2.345 MB / 0.8246 GB, free: 2.594 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.13145126402378]