Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.001289/0.001289, allocations: 114.1 kB / 17.13 MB, free: 5.926 MB / 14.72 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.001542/0.001542, allocations: 205.5 kB / 20.09 MB, free: 2.977 MB / 14.72 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.509/1.509, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.928/2.928, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 1.15 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181/1.183, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00286/1.186, allocations: 2.215 MB / 1.324 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004324/1.19, allocations: 4.228 MB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/1.191, allocations: 1.812 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/1.191, allocations: 189.7 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001605/1.192, allocations: 84.75 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/1.192, allocations: 322.7 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006862/1.193, allocations: 451.8 kB / 1.329 GB, free: 20.01 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/1.193, allocations: 44.42 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001978/1.193, allocations: 147.6 kB / 1.329 GB, free: 19.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/1.194, allocations: 163.1 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/1.194, allocations: 20.69 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005946/1.194, allocations: 332.6 kB / 1.33 GB, free: 19.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/1.194, allocations: 119.2 kB / 1.33 GB, free: 19.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/1.195, allocations: 172.1 kB / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008892/1.195, allocations: 0.5862 MB / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/1.195, allocations: 0 / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/1.195, allocations: 0 / 1.331 GB, free: 19.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.167e-05/1.195, allocations: 0 / 1.331 GB, free: 19.39 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001461/1.197, allocations: 0.8202 MB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/1.197, allocations: 12.42 kB / 1.332 GB, free: 18.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001482/1.198, allocations: 248 kB / 1.332 GB, free: 18.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/1.199, allocations: 408.4 kB / 1.332 GB, free: 18.4 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/1.199, allocations: 8.969 kB / 1.332 GB, free: 18.4 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/1.199, allocations: 15.41 kB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/1.2, allocations: 250.3 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/1.2, allocations: 0 / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/1.2, allocations: 1.062 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.2, allocations: 2.219 kB / 1.332 GB, free: 18.31 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/1.201, allocations: 333.4 kB / 1.333 GB, free: 18.24 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/1.203, allocations: 0.6949 MB / 1.333 GB, free: 17.83 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006661/1.204, allocations: 214.2 kB / 1.334 GB, free: 17.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005939/1.204, allocations: 173.8 kB / 1.334 GB, free: 17.71 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/1.204, allocations: 20.39 kB / 1.334 GB, free: 17.71 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/1.204, allocations: 40.55 kB / 1.334 GB, free: 17.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/1.204, allocations: 0 / 1.334 GB, free: 17.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.002002/1.206, allocations: 0.5655 MB / 1.334 GB, free: 17.5 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/1.206, allocations: 53.81 kB / 1.335 GB, free: 17.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006616/1.207, allocations: 455.2 kB / 1.335 GB, free: 17.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/1.207, allocations: 30.8 kB / 1.335 GB, free: 17.19 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/1.207, allocations: 193.5 kB / 1.335 GB, free: 17.03 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/1.207, allocations: 44.67 kB / 1.335 GB, free: 17 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/1.207, allocations: 54.58 kB / 1.335 GB, free: 16.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001092/1.207, allocations: 357.6 kB / 1.336 GB, free: 16.63 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/1.208, allocations: 293 kB / 1.336 GB, free: 16.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007054/1.209, allocations: 304.4 kB / 1.336 GB, free: 16.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.21, allocations: 0.509 MB / 1.337 GB, free: 16.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.21, allocations: 1.344 kB / 1.337 GB, free: 16.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001532/1.212, allocations: 0.708 MB / 1.337 GB, free: 16.1 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.809e-05/1.212, allocations: 46.39 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/1.212, allocations: 0 / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.212, allocations: 2.078 kB / 1.337 GB, free: 16.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/1.212, allocations: 71.16 kB / 1.337 GB, free: 16.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/1.212, allocations: 5.266 kB / 1.337 GB, free: 16.05 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/1.213, allocations: 62.14 kB / 1.338 GB, free: 16.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/1.213, allocations: 12.48 kB / 1.338 GB, free: 16.03 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 (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.0001542/1.213, allocations: 158.7 kB / 1.338 GB, free: 15.89 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/1.213, allocations: 41.5 kB / 1.338 GB, free: 15.87 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/1.214, allocations: 440.1 kB / 1.338 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/1.214, allocations: 1.062 kB / 1.338 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.214, allocations: 5.438 kB / 1.338 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/1.214, allocations: 4.641 kB / 1.338 GB, free: 15.73 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/1.215, allocations: 376.3 kB / 1.339 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.215, allocations: 1.969 kB / 1.339 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/1.215, allocations: 57.36 kB / 1.339 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/1.215, allocations: 0.7969 kB / 1.339 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/1.215, allocations: 3.75 kB / 1.339 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.215, allocations: 5.531 kB / 1.339 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.215, allocations: 0.7969 kB / 1.339 GB, free: 15.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/1.217, allocations: 0.5047 MB / 1.339 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/1.217, allocations: 143.3 kB / 1.339 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/1.217, allocations: 0.7969 kB / 1.339 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.217, allocations: 41.86 kB / 1.339 GB, free: 15.09 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.644e-05/1.217, allocations: 15.88 kB / 1.339 GB, free: 15.08 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/1.217, allocations: 11.02 kB / 1.339 GB, free: 15.08 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003245/1.218, allocations: 315.1 kB / 1.34 GB, free: 14.93 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.218, allocations: 0 / 1.34 GB, free: 14.93 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007042/1.218, allocations: 134 kB / 1.34 GB, free: 14.91 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 (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.0003646/1.219, allocations: 178.4 kB / 1.34 GB, free: 14.8 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001657/1.22, allocations: 0.6234 MB / 1.34 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.22, allocations: 5.781 kB / 1.34 GB, free: 14.6 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/1.221, allocations: 184.6 kB / 1.341 GB, free: 14.55 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/1.222, allocations: 55.27 kB / 1.341 GB, free: 14.54 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/1.223, allocations: 0.7451 MB / 1.341 GB, free: 14.12 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/1.224, allocations: 0.7965 MB / 1.342 GB, free: 13.42 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/1.224, allocations: 34.66 kB / 1.342 GB, free: 13.41 MB / 1.061 GB Notification: Performance of SimCode: time 1.212e-06/1.224, allocations: 0 / 1.342 GB, free: 13.41 MB / 1.061 GB Notification: Performance of Templates: time 0.01162/1.235, allocations: 5.644 MB / 1.348 GB, free: 12.84 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.361874979993445]