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.001428/0.001428, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.001508/0.001508, allocations: 190.7 kB / 20.78 MB, free: 1.543 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.511/1.511, allocations: 225.6 MB / 249.4 MB, free: 3.125 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.023/3.023, allocations: 496.2 MB / 0.7819 GB, free: 12.27 MB / 0.6231 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.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.00354/0.00354, allocations: 67.89 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.254/1.258, allocations: 173.6 MB / 1.305 GB, free: 33.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003098/1.261, allocations: 2.09 MB / 1.307 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004174/1.265, allocations: 4.102 MB / 1.311 GB, free: 29.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/1.265, allocations: 10.75 kB / 1.311 GB, free: 29.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008821/1.266, allocations: 191.8 kB / 1.312 GB, free: 29.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/1.266, allocations: 66.02 kB / 1.312 GB, free: 28.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/1.267, allocations: 267.1 kB / 1.312 GB, free: 28.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004918/1.267, allocations: 381.6 kB / 1.312 GB, free: 28.72 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/1.267, allocations: 34.22 kB / 1.312 GB, free: 28.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/1.267, allocations: 111.9 kB / 1.312 GB, free: 28.66 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001496/1.268, allocations: 128.9 kB / 1.313 GB, free: 28.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/1.268, allocations: 15.25 kB / 1.313 GB, free: 28.6 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004453/1.268, allocations: 315.5 kB / 1.313 GB, free: 28.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/1.268, allocations: 110.2 kB / 1.313 GB, free: 28.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/1.268, allocations: 148.3 kB / 1.313 GB, free: 28.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005285/1.269, allocations: 0.5147 MB / 1.314 GB, free: 28.19 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/1.269, allocations: 0 / 1.314 GB, free: 28.19 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.269, allocations: 0 / 1.314 GB, free: 28.19 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.595e-06/1.269, allocations: 0 / 1.314 GB, free: 28.19 MB / 1.061 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.001251/1.27, allocations: 0.7635 MB / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/1.27, allocations: 7.812 kB / 1.314 GB, free: 27.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.692e-05/1.27, allocations: 38.7 kB / 1.314 GB, free: 27.57 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/1.271, allocations: 344.5 kB / 1.315 GB, free: 27.28 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/1.271, allocations: 3.344 kB / 1.315 GB, free: 27.28 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/1.271, allocations: 14.17 kB / 1.315 GB, free: 27.27 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/1.271, allocations: 200.5 kB / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/1.271, allocations: 0 / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/1.271, allocations: 0 / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/1.271, allocations: 6.594 kB / 1.315 GB, free: 27.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/1.272, allocations: 242.2 kB / 1.315 GB, free: 27.16 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008984/1.273, allocations: 0.5918 MB / 1.316 GB, free: 26.77 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/1.273, allocations: 168.4 kB / 1.316 GB, free: 26.72 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/1.273, allocations: 125.8 kB / 1.316 GB, free: 26.69 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.476e-05/1.273, allocations: 22.56 kB / 1.316 GB, free: 26.69 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/1.273, allocations: 30.56 kB / 1.316 GB, free: 26.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/1.273, allocations: 4 kB / 1.316 GB, free: 26.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001143/1.275, allocations: 446.1 kB / 1.317 GB, free: 26.52 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.275, allocations: 58.03 kB / 1.317 GB, free: 26.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/1.275, allocations: 413.3 kB / 1.317 GB, free: 26.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/1.275, allocations: 25.7 kB / 1.317 GB, free: 26.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.275, allocations: 179.3 kB / 1.317 GB, free: 26.07 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/1.275, allocations: 37.39 kB / 1.317 GB, free: 26.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.575e-05/1.275, allocations: 47.2 kB / 1.317 GB, free: 26.01 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/1.275, allocations: 343.6 kB / 1.318 GB, free: 25.69 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/1.276, allocations: 167.7 kB / 1.318 GB, free: 25.65 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/1.276, allocations: 175.5 kB / 1.318 GB, free: 25.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006819/1.277, allocations: 343.8 kB / 1.318 GB, free: 25.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.277, allocations: 7.938 kB / 1.318 GB, free: 25.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008516/1.278, allocations: 474 kB / 1.319 GB, free: 25.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.891e-05/1.278, allocations: 45.33 kB / 1.319 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.278, allocations: 4 kB / 1.319 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.278, allocations: 0 / 1.319 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/1.278, allocations: 46.58 kB / 1.319 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/1.278, allocations: 0 / 1.319 GB, free: 25.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002444/1.278, allocations: 44.39 kB / 1.319 GB, free: 25.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/1.278, allocations: 13.41 kB / 1.319 GB, free: 25.27 MB / 1.061 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.0001145/1.278, allocations: 157.6 kB / 1.319 GB, free: 25.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/1.278, allocations: 35.45 kB / 1.319 GB, free: 25.12 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/1.279, allocations: 340.3 kB / 1.319 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.279, allocations: 2.625 kB / 1.319 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.279, allocations: 0 / 1.319 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.279, allocations: 7.938 kB / 1.319 GB, free: 25.01 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/1.279, allocations: 345.9 kB / 1.32 GB, free: 24.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.279, allocations: 0 / 1.32 GB, free: 24.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/1.28, allocations: 46.31 kB / 1.32 GB, free: 24.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/1.28, allocations: 4 kB / 1.32 GB, free: 24.75 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/1.28, allocations: 5.953 kB / 1.32 GB, free: 24.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/1.28, allocations: 0 / 1.32 GB, free: 24.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.28, allocations: 3.938 kB / 1.32 GB, free: 24.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007208/1.281, allocations: 426.4 kB / 1.32 GB, free: 24.54 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-05/1.281, allocations: 132.5 kB / 1.32 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.372e-05/1.281, allocations: 0 / 1.32 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002649/1.281, allocations: 29.41 kB / 1.32 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/1.281, allocations: 19.42 kB / 1.32 GB, free: 24.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/1.281, allocations: 6.625 kB / 1.32 GB, free: 24.4 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002439/1.281, allocations: 287.4 kB / 1.321 GB, free: 24.27 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.281, allocations: 0 / 1.321 GB, free: 24.27 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004657/1.282, allocations: 119.4 kB / 1.321 GB, free: 24.25 MB / 1.061 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.0002999/1.282, allocations: 180.4 kB / 1.321 GB, free: 24.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000909/1.283, allocations: 463.1 kB / 1.321 GB, free: 23.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.283, allocations: 0 / 1.321 GB, free: 23.98 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003578/1.283, allocations: 139.1 kB / 1.322 GB, free: 23.96 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/1.284, allocations: 72.48 kB / 1.322 GB, free: 23.92 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/1.285, allocations: 0.6293 MB / 1.322 GB, free: 23.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/1.285, allocations: 0.7854 MB / 1.323 GB, free: 22.88 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001778/1.285, allocations: 44.42 kB / 1.323 GB, free: 22.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.021e-05/1.285, allocations: 33.22 kB / 1.323 GB, free: 22.85 MB / 1.061 GB Notification: Performance of SimCode: time 1.001e-06/1.285, allocations: 0 / 1.323 GB, free: 22.85 MB / 1.061 GB Notification: Performance of Templates: time 0.01189/1.297, allocations: 4.957 MB / 1.328 GB, free: 22.47 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 10.259975235909224]