Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001555/0.001555, allocations: 110.5 kB / 17.08 MB, free: 5.988 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.001633/0.001633, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.393/1.393, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 179] 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 2.872/2.872, allocations: 489.3 MB / 0.7687 GB, free: 3.805 MB / 0.6075 GB " [Timeout remaining time 177] 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.EN12975SolarGain,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.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,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.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002069/0.00207, allocations: 63.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.896/0.8981, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003252/0.9014, allocations: 2.051 MB / 1.265 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004883/0.9063, allocations: 4.069 MB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.9065, allocations: 1.562 kB / 1.269 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009631/0.9075, allocations: 194.1 kB / 1.269 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.9076, allocations: 66.86 kB / 1.269 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008248/0.9085, allocations: 267.8 kB / 1.269 GB, free: 3.418 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006894/0.9092, allocations: 367.7 kB / 1.269 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.9093, allocations: 51.91 kB / 1.269 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002022/0.9095, allocations: 117 kB / 1.27 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002068/0.9097, allocations: 132.4 kB / 1.27 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.9098, allocations: 16.25 kB / 1.27 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006352/0.9104, allocations: 300.1 kB / 1.27 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.9106, allocations: 99.42 kB / 1.27 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001631/0.9108, allocations: 149.5 kB / 1.27 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000695/0.9115, allocations: 0.5148 MB / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9115, allocations: 0 / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9115, allocations: 0 / 1.271 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.9115, allocations: 0.8438 kB / 1.271 GB, free: 2.75 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001234/0.9127, allocations: 0.7664 MB / 1.271 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.9128, allocations: 13.12 kB / 1.272 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.152e-05/0.9129, allocations: 45.33 kB / 1.272 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.9133, allocations: 342.6 kB / 1.272 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.9133, allocations: 7.562 kB / 1.272 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.664e-05/0.9134, allocations: 5.781 kB / 1.272 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005062/0.9139, allocations: 200.2 kB / 1.272 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.9139, allocations: 0.6562 kB / 1.272 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.9139, allocations: 4.781 kB / 1.272 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.9139, allocations: 2.5 kB / 1.272 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.9147, allocations: 245.6 kB / 1.272 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000953/0.9157, allocations: 0.5757 MB / 1.273 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.9161, allocations: 181.4 kB / 1.273 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003844/0.9165, allocations: 135.1 kB / 1.273 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.033e-05/0.9166, allocations: 24.83 kB / 1.273 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.9166, allocations: 31.16 kB / 1.273 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.9166, allocations: 1.031 kB / 1.273 GB, free: 1.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.001326/0.9179, allocations: 447.4 kB / 1.274 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.918, allocations: 57.53 kB / 1.274 GB, free: 0.9922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.9184, allocations: 410.2 kB / 1.274 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.9184, allocations: 26.52 kB / 1.274 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.9186, allocations: 188.8 kB / 1.274 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.411e-05/0.9186, allocations: 35.03 kB / 1.274 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.954e-05/0.9187, allocations: 43.33 kB / 1.274 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.995e-05/0.9188, allocations: 343.6 kB / 1.275 GB, free: 232 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.9192, allocations: 168.8 kB / 1.275 GB, free: 196 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.9196, allocations: 173.1 kB / 1.275 GB, free: 156 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.9204, allocations: 352.6 kB / 1.275 GB, free: 44 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.9204, allocations: 3.938 kB / 1.275 GB, free: 40 kB / 0.9981 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001006/0.9214, allocations: 475.4 kB / 1.276 GB, free: 15.87 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.34e-05/0.9215, allocations: 45.5 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9215, allocations: 5.375 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.9215, allocations: 0 / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.9218, allocations: 43.48 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.9219, allocations: 1.828 kB / 1.276 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.9221, allocations: 43.55 kB / 1.276 GB, free: 15.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.9222, allocations: 10.33 kB / 1.276 GB, free: 15.81 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 (12): * Single equations (assignments): 11 * 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.0001712/0.9223, allocations: 148.8 kB / 1.276 GB, free: 15.68 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.9224, allocations: 35 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.9235, allocations: 343.9 kB / 1.276 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9235, allocations: 5.938 kB / 1.276 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9235, allocations: 0 / 1.276 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.9235, allocations: 5.828 kB / 1.276 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.924, allocations: 343 kB / 1.277 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.924, allocations: 5.094 kB / 1.277 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.9243, allocations: 43.69 kB / 1.277 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.9243, allocations: 1.219 kB / 1.277 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.9243, allocations: 3.156 kB / 1.277 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9244, allocations: 0.8438 kB / 1.277 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9244, allocations: 0.5 kB / 1.277 GB, free: 15.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009678/0.9253, allocations: 427 kB / 1.277 GB, free: 15.09 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.9255, allocations: 134.7 kB / 1.277 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.9256, allocations: 1.719 kB / 1.277 GB, free: 14.96 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.9258, allocations: 32.61 kB / 1.277 GB, free: 14.95 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.282e-05/0.9259, allocations: 18.12 kB / 1.277 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.9259, allocations: 5.531 kB / 1.277 GB, free: 14.94 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003701/0.9263, allocations: 285.7 kB / 1.278 GB, free: 14.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9263, allocations: 0.8125 kB / 1.278 GB, free: 14.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000571/0.9269, allocations: 124.3 kB / 1.278 GB, free: 14.78 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 (11): * Single equations (assignments): 11 * 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.0003818/0.9273, allocations: 171.8 kB / 1.278 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.9284, allocations: 0.4919 MB / 1.279 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.9284, allocations: 4 kB / 1.279 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004036/0.9288, allocations: 147.8 kB / 1.279 GB, free: 14.46 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.9293, allocations: 72.56 kB / 1.279 GB, free: 14.43 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.9305, allocations: 0.6608 MB / 1.279 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.931, allocations: 0.7824 MB / 1.28 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.9312, allocations: 30.84 kB / 1.28 GB, free: 13.34 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.9312, allocations: 0 / 1.28 GB, free: 13.34 MB / 1.014 GB Notification: Performance of Templates: time 0.009711/0.9409, allocations: 4.793 MB / 1.285 GB, free: 12.89 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.567253183107823]