Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001971/0.001971, allocations: 84.41 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002366/0.002366, allocations: 157.7 kB / 23.54 MB, free: 0.8867 MB / 18.57 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.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.774/2.774, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0.5469 kB / 0.7864 GB, free: 11.67 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.242e-05/3.486e-05, allocations: 7.969 kB / 0.7864 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.004421/0.004456, allocations: 2.065 MB / 0.7884 GB, free: 9.605 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006831/0.01129, allocations: 3.651 MB / 0.792 GB, free: 5.953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.01152, allocations: 3.938 kB / 0.792 GB, free: 5.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003833/0.01191, allocations: 63.5 kB / 0.792 GB, free: 5.887 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005825/0.01249, allocations: 126 kB / 0.7922 GB, free: 5.766 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000637/0.01313, allocations: 196.7 kB / 0.7923 GB, free: 5.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.01373, allocations: 334.6 kB / 0.7927 GB, free: 5.246 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.0139, allocations: 45.72 kB / 0.7927 GB, free: 5.199 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.01438, allocations: 179.6 kB / 0.7929 GB, free: 5.023 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.01463, allocations: 116.7 kB / 0.793 GB, free: 4.91 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.01469, allocations: 21.34 kB / 0.793 GB, free: 4.891 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.01502, allocations: 127.7 kB / 0.7931 GB, free: 4.766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.01514, allocations: 63.75 kB / 0.7932 GB, free: 4.703 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001465/0.01528, allocations: 76.3 kB / 0.7933 GB, free: 4.629 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006831/0.01596, allocations: 382.7 kB / 0.7936 GB, free: 4.254 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.01597, allocations: 0.5625 kB / 0.7936 GB, free: 4.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.082e-06/0.01597, allocations: 0.8125 kB / 0.7936 GB, free: 4.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.01598, allocations: 0 / 0.7936 GB, free: 4.254 MB / 0.698 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.001654/0.01764, allocations: 0.5821 MB / 0.7942 GB, free: 3.645 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.01768, allocations: 11.97 kB / 0.7942 GB, free: 3.633 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/0.01919, allocations: 236.5 kB / 0.7944 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009871/0.02018, allocations: 284.8 kB / 0.7947 GB, free: 3.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.0202, allocations: 8.562 kB / 0.7947 GB, free: 3.109 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.217e-05/0.02024, allocations: 12.38 kB / 0.7947 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007787/0.02102, allocations: 231.4 kB / 0.7949 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.02103, allocations: 0 / 0.7949 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.02106, allocations: 9.031 kB / 0.795 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.02107, allocations: 4 kB / 0.795 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.02212, allocations: 277.5 kB / 0.7952 GB, free: 2.594 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.02388, allocations: 499.2 kB / 0.7957 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.02451, allocations: 164.1 kB / 0.7959 GB, free: 1.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.02507, allocations: 144.7 kB / 0.796 GB, free: 1.766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007521/0.02583, allocations: 107.8 kB / 0.7961 GB, free: 1.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.02587, allocations: 34.56 kB / 0.7961 GB, free: 1.617 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 2.444e-06/0.02587, allocations: 0 / 0.7961 GB, free: 1.617 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.001945/0.02782, allocations: 499.7 kB / 0.7966 GB, free: 1.125 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.02788, allocations: 51.41 kB / 0.7967 GB, free: 1.062 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.02827, allocations: 280.5 kB / 0.7969 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.937e-05/0.02831, allocations: 25.7 kB / 0.7969 GB, free: 0.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.02846, allocations: 148.1 kB / 0.7971 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.02853, allocations: 55.56 kB / 0.7971 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.02865, allocations: 41.69 kB / 0.7972 GB, free: 0.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002328/0.02889, allocations: 334.8 kB / 0.7975 GB, free: 168 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005686/0.02945, allocations: 143.9 kB / 0.7976 GB, free: 24 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005938/0.03005, allocations: 151.9 kB / 0.7978 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.03114, allocations: 298.7 kB / 0.7981 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.03114, allocations: 0 / 0.7981 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001297/0.03244, allocations: 381.1 kB / 0.7984 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.03246, allocations: 8 kB / 0.7984 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.03247, allocations: 0 / 0.7984 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.03249, allocations: 0 / 0.7984 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005132/0.033, allocations: 63.92 kB / 0.7985 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.03301, allocations: 0 / 0.7985 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003778/0.03339, allocations: 47.89 kB / 0.7985 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.458e-05/0.03342, allocations: 7.984 kB / 0.7985 GB, free: 15.07 MB / 0.7136 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 (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001842/0.03361, allocations: 137.7 kB / 0.7987 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.03371, allocations: 31.81 kB / 0.7987 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.03508, allocations: 380.1 kB / 0.7991 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.03509, allocations: 0 / 0.7991 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.03509, allocations: 4 kB / 0.7991 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.0351, allocations: 0 / 0.7991 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.03547, allocations: 217 kB / 0.7993 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.03547, allocations: 0 / 0.7993 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.03591, allocations: 71.84 kB / 0.7994 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.03591, allocations: 7.938 kB / 0.7994 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.03594, allocations: 4 kB / 0.7994 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.03594, allocations: 3.984 kB / 0.7994 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.03594, allocations: 0 / 0.7994 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001314/0.03726, allocations: 459 kB / 0.7998 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.03739, allocations: 43.78 kB / 0.7998 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.483e-05/0.03743, allocations: 0 / 0.7998 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.03781, allocations: 43.94 kB / 0.7999 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.03791, allocations: 19.97 kB / 0.7999 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.03792, allocations: 3.938 kB / 0.7999 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0002361/0.03816, allocations: 199.1 kB / 0.8001 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.03816, allocations: 4 kB / 0.8001 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004079/0.03857, allocations: 67.81 kB / 0.8002 GB, free: 13.35 MB / 0.7136 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.0003228/0.03889, allocations: 143.1 kB / 0.8003 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.04015, allocations: 316.9 kB / 0.8006 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.04015, allocations: 0 / 0.8006 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0006126/0.04077, allocations: 155.8 kB / 0.8008 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.04122, allocations: 49.06 kB / 0.8008 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.04251, allocations: 0.4902 MB / 0.8013 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001768/0.04269, allocations: 146.3 kB / 0.8014 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002465/0.04293, allocations: 49.39 kB / 0.8015 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.04306, allocations: 28.48 kB / 0.8015 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/0.04306, allocations: 0 / 0.8015 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of Templates: time 0.009299/0.05236, allocations: 3.48 MB / 0.8049 GB, free: 8.512 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.963309296988882]