Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.00181/0.00181, allocations: 113 kB / 17.6 MB, free: 4.684 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.002126/0.002126, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.882/2.882, allocations: 443.5 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.88 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3673, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003845/0.3711, allocations: 2.172 MB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.005322/0.3765, allocations: 3.841 MB / 1.222 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3766, allocations: 4 kB / 1.222 GB, free: 9.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003122/0.3769, allocations: 63.48 kB / 1.222 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000398/0.3773, allocations: 123.1 kB / 1.222 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.3776, allocations: 151.6 kB / 1.222 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004183/0.3781, allocations: 314.8 kB / 1.223 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3782, allocations: 36.59 kB / 1.223 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.3785, allocations: 135.5 kB / 1.223 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.3787, allocations: 151.3 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.3787, allocations: 20 kB / 1.223 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.379, allocations: 135.8 kB / 1.223 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.3791, allocations: 59.8 kB / 1.223 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.3792, allocations: 119.3 kB / 1.223 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004919/0.3797, allocations: 350.5 kB / 1.224 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3797, allocations: 0 / 1.224 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3797, allocations: 0 / 1.224 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.3798, allocations: 0 / 1.224 GB, free: 7.637 MB / 0.9669 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.001436/0.3812, allocations: 0.6461 MB / 1.224 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3812, allocations: 8.031 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009203/0.3821, allocations: 168.5 kB / 1.224 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007729/0.3829, allocations: 324.5 kB / 1.225 GB, free: 6.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.3829, allocations: 8.562 kB / 1.225 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.383, allocations: 15.94 kB / 1.225 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006762/0.3836, allocations: 225.4 kB / 1.225 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3837, allocations: 0 / 1.225 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.3837, allocations: 4 kB / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.3837, allocations: 0 / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009662/0.3847, allocations: 291.6 kB / 1.225 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.386, allocations: 0.5824 MB / 1.226 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005599/0.3866, allocations: 170.4 kB / 1.226 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.3871, allocations: 144.7 kB / 1.226 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000928/0.388, allocations: 0.5454 MB / 1.227 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.388, allocations: 34.56 kB / 1.227 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.388, allocations: 0 / 1.227 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.001684/0.3897, allocations: 481.1 kB / 1.227 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.3897, allocations: 55.41 kB / 1.227 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000316/0.3901, allocations: 268.5 kB / 1.227 GB, free: 3.406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.3901, allocations: 25.7 kB / 1.227 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3902, allocations: 160 kB / 1.228 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3903, allocations: 43.62 kB / 1.228 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.3904, allocations: 45.59 kB / 1.228 GB, free: 3.121 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3906, allocations: 338.8 kB / 1.228 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.3911, allocations: 151.9 kB / 1.228 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/0.3916, allocations: 143.9 kB / 1.228 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009421/0.3925, allocations: 286.8 kB / 1.229 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3925, allocations: 0 / 1.229 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001095/0.3936, allocations: 373.1 kB / 1.229 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3936, allocations: 4 kB / 1.229 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3936, allocations: 0 / 1.229 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.3936, allocations: 7.922 kB / 1.229 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.3941, allocations: 67.92 kB / 1.229 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3941, allocations: 0 / 1.229 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.3944, allocations: 51.78 kB / 1.229 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3944, allocations: 7.984 kB / 1.229 GB, free: 1.703 MB / 0.9669 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.0001886/0.3946, allocations: 133.8 kB / 1.229 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.845e-05/0.3947, allocations: 31.78 kB / 1.229 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.396, allocations: 371.3 kB / 1.23 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.396, allocations: 4 kB / 1.23 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.396, allocations: 0 / 1.23 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.396, allocations: 7.938 kB / 1.23 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.3964, allocations: 305.3 kB / 1.23 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.3964, allocations: 3.984 kB / 1.23 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/0.3967, allocations: 55.92 kB / 1.23 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3967, allocations: 3.938 kB / 1.23 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.3968, allocations: 8 kB / 1.23 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3968, allocations: 3.984 kB / 1.23 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3968, allocations: 0 / 1.23 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3979, allocations: 454.8 kB / 1.23 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.398, allocations: 116.9 kB / 1.23 GB, free: 140 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.3981, allocations: 7.984 kB / 1.23 GB, free: 132 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.3984, allocations: 39.95 kB / 1.231 GB, free: 92 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.734e-05/0.3985, allocations: 11.98 kB / 1.231 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.3985, allocations: 15.92 kB / 1.231 GB, free: 64 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002101/0.3987, allocations: 187.1 kB / 1.231 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3987, allocations: 0 / 1.231 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003705/0.3991, allocations: 71.81 kB / 1.231 GB, free: 15.81 MB / 0.9825 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.0002975/0.3994, allocations: 135 kB / 1.231 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.4005, allocations: 313.3 kB / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.4005, allocations: 0 / 1.231 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.401, allocations: 155.8 kB / 1.231 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005347/0.4016, allocations: 38.69 kB / 1.231 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.4029, allocations: 0.5013 MB / 1.232 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000515/0.4035, allocations: 0.7474 MB / 1.233 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.4037, allocations: 45.39 kB / 1.233 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.4038, allocations: 23.41 kB / 1.233 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of SimCode: time 1.323e-06/0.4038, allocations: 0 / 1.233 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of Templates: time 0.007897/0.4117, allocations: 3.375 MB / 1.236 GB, free: 10.46 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.595998723991215]