Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001564/0.001564, allocations: 112.8 kB / 17.08 MB, free: 6 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.001693/0.001693, allocations: 193.2 kB / 20.03 MB, free: 3.07 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.444/1.444, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.043/3.043, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.88 kB / 1.103 GB, free: 0.8047 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8753/0.8772, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003181/0.8804, allocations: 2.18 MB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004557/0.885, allocations: 4.075 MB / 1.269 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.8852, allocations: 5.75 kB / 1.269 GB, free: 3.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.8861, allocations: 186.1 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001731/0.8863, allocations: 73.89 kB / 1.269 GB, free: 3.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007812/0.8871, allocations: 293 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.8878, allocations: 441.2 kB / 1.27 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.8879, allocations: 54.69 kB / 1.27 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.8881, allocations: 135.4 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.8884, allocations: 157 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.866e-05/0.8885, allocations: 21 kB / 1.27 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.8891, allocations: 323 kB / 1.27 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.8893, allocations: 111.7 kB / 1.27 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001546/0.8894, allocations: 171.1 kB / 1.271 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007331/0.8902, allocations: 0.5751 MB / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8902, allocations: 0 / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8902, allocations: 0.9375 kB / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.8902, allocations: 0 / 1.271 GB, free: 2.531 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001331/0.8915, allocations: 0.8053 MB / 1.272 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.8916, allocations: 9.281 kB / 1.272 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.8926, allocations: 184.5 kB / 1.272 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007545/0.8934, allocations: 389.2 kB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.8934, allocations: 8.562 kB / 1.272 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.8934, allocations: 16.12 kB / 1.272 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007251/0.8942, allocations: 250.9 kB / 1.273 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.8942, allocations: 0 / 1.273 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.8942, allocations: 1.469 kB / 1.273 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.8942, allocations: 2.406 kB / 1.273 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.8953, allocations: 340.9 kB / 1.273 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.8967, allocations: 0.6876 MB / 1.274 GB, free: 1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.8973, allocations: 226.7 kB / 1.274 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005475/0.8979, allocations: 177.2 kB / 1.274 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.846e-05/0.898, allocations: 26.03 kB / 1.274 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.898, allocations: 35.59 kB / 1.274 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.898, allocations: 0.5625 kB / 1.274 GB, free: 0.8281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.001807/0.8998, allocations: 0.5624 MB / 1.275 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/0.8999, allocations: 53.31 kB / 1.275 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004911/0.9004, allocations: 431.8 kB / 1.275 GB, free: 412 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/0.9004, allocations: 31.42 kB / 1.275 GB, free: 376 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.9005, allocations: 191.6 kB / 1.275 GB, free: 212 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.9006, allocations: 40.45 kB / 1.275 GB, free: 180 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.9007, allocations: 54.41 kB / 1.275 GB, free: 148 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9008, allocations: 357.8 kB / 1.276 GB, free: 15.81 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.9015, allocations: 288.5 kB / 1.276 GB, free: 15.75 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006867/0.9022, allocations: 299.1 kB / 1.276 GB, free: 15.68 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/0.9035, allocations: 0.5121 MB / 1.277 GB, free: 15.51 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9035, allocations: 0 / 1.277 GB, free: 15.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001631/0.9052, allocations: 0.719 MB / 1.278 GB, free: 15.28 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.663e-05/0.9053, allocations: 42.5 kB / 1.278 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9053, allocations: 2.141 kB / 1.278 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.9053, allocations: 0 / 1.278 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.9057, allocations: 64.84 kB / 1.278 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.9058, allocations: 0 / 1.278 GB, free: 15.24 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004207/0.9062, allocations: 61.94 kB / 1.278 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.9062, allocations: 12.7 kB / 1.278 GB, free: 15.21 MB / 1.014 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0002183/0.9064, allocations: 159.8 kB / 1.278 GB, free: 15.08 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.336e-05/0.9065, allocations: 38.25 kB / 1.278 GB, free: 15.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.9078, allocations: 443.8 kB / 1.278 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9078, allocations: 3.094 kB / 1.278 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.9079, allocations: 0 / 1.278 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.9079, allocations: 4.547 kB / 1.278 GB, free: 14.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.9084, allocations: 369.8 kB / 1.279 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9084, allocations: 0 / 1.279 GB, free: 14.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.9088, allocations: 70.91 kB / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.9088, allocations: 0 / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.9088, allocations: 9.016 kB / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.9088, allocations: 1.859 kB / 1.279 GB, free: 14.65 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.9088, allocations: 3.984 kB / 1.279 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.9101, allocations: 0.4981 MB / 1.279 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.9103, allocations: 136.8 kB / 1.279 GB, free: 14.29 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.9103, allocations: 6.141 kB / 1.279 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.9107, allocations: 33.39 kB / 1.279 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.9108, allocations: 16.14 kB / 1.279 GB, free: 14.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.892e-05/0.9108, allocations: 13.38 kB / 1.28 GB, free: 14.27 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003567/0.9112, allocations: 301 kB / 1.28 GB, free: 14.13 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.869e-06/0.9112, allocations: 5.125 kB / 1.28 GB, free: 14.12 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005508/0.9117, allocations: 137.2 kB / 1.28 GB, free: 14.1 MB / 1.014 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.000344/0.9121, allocations: 169.5 kB / 1.28 GB, free: 13.99 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001538/0.9136, allocations: 0.6742 MB / 1.281 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9136, allocations: 1.25 kB / 1.281 GB, free: 13.76 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005707/0.9142, allocations: 190.4 kB / 1.281 GB, free: 13.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.9148, allocations: 58.94 kB / 1.281 GB, free: 13.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.9162, allocations: 0.7377 MB / 1.282 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.9167, allocations: 0.7963 MB / 1.282 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.9169, allocations: 39.02 kB / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/0.9169, allocations: 0 / 1.283 GB, free: 12.55 MB / 1.014 GB Notification: Performance of Templates: time 0.011/0.9279, allocations: 5.49 MB / 1.288 GB, free: 12.05 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.667886195937172]