Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00168/0.00168, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002119/0.002119, allocations: 192.1 kB / 22.11 MB, free: 4.223 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.521/1.521, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.969/2.969, allocations: 495.8 MB / 0.7831 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 71.89 kB / 1.137 GB, free: 12.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248/1.25, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002807/1.253, allocations: 2.064 MB / 1.309 GB, free: 32.33 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003819/1.257, allocations: 4.096 MB / 1.313 GB, free: 29.42 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/1.257, allocations: 0 / 1.313 GB, free: 29.42 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008362/1.258, allocations: 202.7 kB / 1.313 GB, free: 29.33 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001112/1.258, allocations: 68.89 kB / 1.313 GB, free: 29.29 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/1.259, allocations: 267.3 kB / 1.313 GB, free: 29.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004779/1.259, allocations: 385.7 kB / 1.314 GB, free: 29.02 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/1.259, allocations: 38.59 kB / 1.314 GB, free: 29 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/1.259, allocations: 115 kB / 1.314 GB, free: 28.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/1.259, allocations: 133.6 kB / 1.314 GB, free: 28.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/1.26, allocations: 16.69 kB / 1.314 GB, free: 28.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004294/1.26, allocations: 316.8 kB / 1.314 GB, free: 28.81 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.487e-05/1.26, allocations: 109.1 kB / 1.314 GB, free: 28.76 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/1.26, allocations: 144.6 kB / 1.314 GB, free: 28.67 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005113/1.261, allocations: 0.5135 MB / 1.315 GB, free: 28.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.261, allocations: 0 / 1.315 GB, free: 28.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/1.261, allocations: 3.938 kB / 1.315 GB, free: 28.48 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.376e-06/1.261, allocations: 0 / 1.315 GB, free: 28.48 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.00116/1.262, allocations: 0.6841 MB / 1.316 GB, free: 27.97 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/1.262, allocations: 8.594 kB / 1.316 GB, free: 27.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/1.262, allocations: 41.66 kB / 1.316 GB, free: 27.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000423/1.262, allocations: 282.8 kB / 1.316 GB, free: 27.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/1.262, allocations: 7.656 kB / 1.316 GB, free: 27.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/1.262, allocations: 10.28 kB / 1.316 GB, free: 27.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/1.263, allocations: 198 kB / 1.316 GB, free: 27.66 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/1.263, allocations: 0 / 1.316 GB, free: 27.66 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/1.263, allocations: 2.906 kB / 1.316 GB, free: 27.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/1.263, allocations: 0 / 1.316 GB, free: 27.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006796/1.264, allocations: 249.9 kB / 1.316 GB, free: 27.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/1.264, allocations: 0.5569 MB / 1.317 GB, free: 27.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004252/1.265, allocations: 176.8 kB / 1.317 GB, free: 27.2 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003517/1.265, allocations: 130.2 kB / 1.317 GB, free: 27.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.796e-05/1.265, allocations: 20.84 kB / 1.317 GB, free: 27.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/1.265, allocations: 41.19 kB / 1.317 GB, free: 27.12 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/1.265, allocations: 0 / 1.317 GB, free: 27.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.001211/1.267, allocations: 441.8 kB / 1.318 GB, free: 27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/1.267, allocations: 51.41 kB / 1.318 GB, free: 26.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/1.267, allocations: 416.1 kB / 1.318 GB, free: 26.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/1.267, allocations: 32.33 kB / 1.318 GB, free: 26.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/1.267, allocations: 177.7 kB / 1.318 GB, free: 26.55 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/1.267, allocations: 36.95 kB / 1.318 GB, free: 26.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/1.267, allocations: 44.77 kB / 1.318 GB, free: 26.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/1.267, allocations: 351.3 kB / 1.319 GB, free: 26.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/1.268, allocations: 161.9 kB / 1.319 GB, free: 26.13 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003729/1.268, allocations: 172 kB / 1.319 GB, free: 26.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/1.269, allocations: 350.3 kB / 1.319 GB, free: 25.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.269, allocations: 0 / 1.319 GB, free: 25.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008902/1.27, allocations: 469.8 kB / 1.32 GB, free: 25.82 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/1.27, allocations: 41.91 kB / 1.32 GB, free: 25.79 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/1.27, allocations: 2.375 kB / 1.32 GB, free: 25.79 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.27, allocations: 7.938 kB / 1.32 GB, free: 25.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/1.27, allocations: 44.81 kB / 1.32 GB, free: 25.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/1.27, allocations: 2.469 kB / 1.32 GB, free: 25.78 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/1.27, allocations: 46.61 kB / 1.32 GB, free: 25.76 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/1.27, allocations: 5.406 kB / 1.32 GB, free: 25.76 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.0001276/1.27, allocations: 161.7 kB / 1.32 GB, free: 25.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/1.27, allocations: 37.58 kB / 1.32 GB, free: 25.6 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008836/1.271, allocations: 352.4 kB / 1.321 GB, free: 25.49 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.271, allocations: 3.344 kB / 1.321 GB, free: 25.49 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.271, allocations: 0 / 1.321 GB, free: 25.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/1.271, allocations: 3.938 kB / 1.321 GB, free: 25.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/1.272, allocations: 312.6 kB / 1.321 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.272, allocations: 0 / 1.321 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/1.272, allocations: 42.84 kB / 1.321 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.272, allocations: 2.812 kB / 1.321 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/1.272, allocations: 11.28 kB / 1.321 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.272, allocations: 0 / 1.321 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/1.272, allocations: 0 / 1.321 GB, free: 25.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008247/1.273, allocations: 432.1 kB / 1.321 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/1.273, allocations: 51.59 kB / 1.321 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/1.273, allocations: 2.781 kB / 1.321 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/1.273, allocations: 26.97 kB / 1.321 GB, free: 25.02 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.34e-05/1.273, allocations: 20.12 kB / 1.321 GB, free: 25.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/1.273, allocations: 10.09 kB / 1.321 GB, free: 25 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002275/1.273, allocations: 290.6 kB / 1.322 GB, free: 24.87 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/1.273, allocations: 0 / 1.322 GB, free: 24.87 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004803/1.274, allocations: 124.2 kB / 1.322 GB, free: 24.85 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.0003062/1.274, allocations: 171.3 kB / 1.322 GB, free: 24.74 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009436/1.275, allocations: 464.8 kB / 1.322 GB, free: 24.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.275, allocations: 0 / 1.322 GB, free: 24.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/1.276, allocations: 139.2 kB / 1.323 GB, free: 24.56 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/1.276, allocations: 60.33 kB / 1.323 GB, free: 24.53 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009668/1.277, allocations: 0.6308 MB / 1.323 GB, free: 24.19 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/1.277, allocations: 0.782 MB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000164/1.277, allocations: 48.23 kB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.453e-05/1.277, allocations: 28.06 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.277, allocations: 0 / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of Templates: time 0.01037/1.288, allocations: 4.98 MB / 1.329 GB, free: 23.08 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.160360246896744]