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.001833/0.001833, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001681/0.001681, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9828/0.9828, allocations: 177.1 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.753/1.753, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",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.[0-9,]+.|solHeaGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.229e-05/3.406e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003692/0.003726, allocations: 2.179 MB / 0.7892 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004634/0.00836, allocations: 3.947 MB / 0.7931 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.008477, allocations: 0 / 0.7931 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.008791, allocations: 59.45 kB / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.009217, allocations: 129.7 kB / 0.7933 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000414/0.009631, allocations: 201.3 kB / 0.7935 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.01001, allocations: 334.7 kB / 0.7938 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.01013, allocations: 38.38 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002985/0.01043, allocations: 191.5 kB / 0.794 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.0106, allocations: 114.5 kB / 0.7941 GB, free: 5.293 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.01065, allocations: 20 kB / 0.7941 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002346/0.01088, allocations: 119.8 kB / 0.7942 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.049e-05/0.01095, allocations: 55.75 kB / 0.7943 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.01105, allocations: 79.75 kB / 0.7944 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000408/0.01146, allocations: 314.8 kB / 0.7947 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01146, allocations: 1.469 kB / 0.7947 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.853e-06/0.01146, allocations: 0 / 0.7947 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.01147, allocations: 0 / 0.7947 GB, free: 4.715 MB / 0.7448 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.0009498/0.01242, allocations: 0.6456 MB / 0.7953 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.01247, allocations: 8.031 kB / 0.7953 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007059/0.01317, allocations: 144.5 kB / 0.7954 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.01346, allocations: 234.2 kB / 0.7957 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.01348, allocations: 8.5 kB / 0.7957 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.01351, allocations: 12.38 kB / 0.7957 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005204/0.01403, allocations: 176.5 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.01403, allocations: 2.219 kB / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.01406, allocations: 0 / 0.7959 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.01407, allocations: 4 kB / 0.7959 GB, free: 3.438 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.01427, allocations: 71.95 kB / 0.7959 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008536/0.01512, allocations: 0.5065 MB / 0.7964 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.0153, allocations: 81.03 kB / 0.7965 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.683e-05/0.01539, allocations: 51.66 kB / 0.7966 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.0157, allocations: 94.11 kB / 0.7966 GB, free: 2.594 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.01572, allocations: 37.33 kB / 0.7967 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01572, allocations: 0.6562 kB / 0.7967 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003674/0.01608, allocations: 194.5 kB / 0.7969 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.682e-05/0.01611, allocations: 55.41 kB / 0.7969 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.0163, allocations: 326.3 kB / 0.7972 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/0.01632, allocations: 33.69 kB / 0.7973 GB, free: 1.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.01641, allocations: 198.7 kB / 0.7975 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.01644, allocations: 47.59 kB / 0.7975 GB, free: 1.664 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.0165, allocations: 43.36 kB / 0.7975 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.01661, allocations: 0.5157 MB / 0.798 GB, free: 1.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.981e-05/0.01669, allocations: 35.98 kB / 0.7981 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.472e-05/0.01677, allocations: 39.97 kB / 0.7981 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.01692, allocations: 98.48 kB / 0.7982 GB, free: 0.9141 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.01692, allocations: 7.922 kB / 0.7982 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002353/0.01716, allocations: 170.4 kB / 0.7984 GB, free: 0.7344 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.01717, allocations: 6.344 kB / 0.7984 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01717, allocations: 4 kB / 0.7984 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.01719, allocations: 4 kB / 0.7984 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.01744, allocations: 47.89 kB / 0.7984 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.01744, allocations: 0 / 0.7984 GB, free: 0.6758 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.01756, allocations: 35.86 kB / 0.7985 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.01758, allocations: 11.98 kB / 0.7985 GB, free: 0.6289 MB / 0.7448 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 8.767e-05/0.01767, allocations: 164.5 kB / 0.7986 GB, free: 468 kB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.01771, allocations: 35.81 kB / 0.7987 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.01799, allocations: 186.5 kB / 0.7989 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.018, allocations: 0 / 0.7989 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.018, allocations: 0 / 0.7989 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.018, allocations: 0 / 0.7989 GB, free: 240 kB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.01819, allocations: 216.5 kB / 0.7991 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.0182, allocations: 7.922 kB / 0.7991 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001375/0.01833, allocations: 47.95 kB / 0.7991 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01834, allocations: 0 / 0.7991 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.01835, allocations: 11.98 kB / 0.7991 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01835, allocations: 0 / 0.7991 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.01836, allocations: 3.984 kB / 0.7991 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/0.01862, allocations: 307.6 kB / 0.7994 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.258e-05/0.01868, allocations: 51.66 kB / 0.7995 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.0187, allocations: 0 / 0.7995 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.01881, allocations: 27.97 kB / 0.7995 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.01887, allocations: 23.97 kB / 0.7995 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.01888, allocations: 3.984 kB / 0.7995 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001097/0.01899, allocations: 223 kB / 0.7997 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01899, allocations: 0 / 0.7997 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002099/0.0192, allocations: 71.86 kB / 0.7998 GB, free: 15.21 MB / 0.7605 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.0001788/0.01938, allocations: 139 kB / 0.7999 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.01961, allocations: 127.5 kB / 0.8001 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.01961, allocations: 0 / 0.8001 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.0197, allocations: 65.47 kB / 0.8001 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.01996, allocations: 54.7 kB / 0.8002 GB, free: 14.82 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008096/0.02077, allocations: 467.8 kB / 0.8006 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.585e-05/0.02082, allocations: 79.81 kB / 0.8007 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001198/0.02094, allocations: 49.45 kB / 0.8007 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.02102, allocations: 28.47 kB / 0.8008 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.02102, allocations: 0 / 0.8008 GB, free: 14.15 MB / 0.7605 GB Notification: Performance of Templates: time 0.005295/0.02631, allocations: 3.775 MB / 0.8045 GB, free: 10.43 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.926972041837871]