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.001614/0.001614, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001608/0.001608, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.013/1.013, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.775/1.775, allocations: 359 MB / 0.6055 GB, free: 11.03 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.703e-06/1.703e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.916e-05, allocations: 9.062 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002544/0.002573, allocations: 2.177 MB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003986/0.006559, allocations: 3.93 MB / 0.7931 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.006689, allocations: 3.938 kB / 0.7931 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.006962, allocations: 61.16 kB / 0.7931 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.007309, allocations: 120.9 kB / 0.7932 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.007663, allocations: 204.6 kB / 0.7934 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.007979, allocations: 328.1 kB / 0.7938 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.008101, allocations: 40.8 kB / 0.7938 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.008369, allocations: 183.6 kB / 0.794 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.008489, allocations: 121.4 kB / 0.7941 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.964e-05/0.008519, allocations: 20 kB / 0.7941 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001891/0.008708, allocations: 125 kB / 0.7942 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.715e-05/0.008765, allocations: 59.75 kB / 0.7943 GB, free: 5.469 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.369e-05/0.008839, allocations: 83.75 kB / 0.7944 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.009166, allocations: 307.7 kB / 0.7946 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.00917, allocations: 3.938 kB / 0.7947 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.103e-06/0.009171, allocations: 1.219 kB / 0.7947 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.009177, allocations: 0 / 0.7947 GB, free: 5.082 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.0007499/0.009927, allocations: 0.65 MB / 0.7953 GB, free: 4.398 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.009963, allocations: 8.031 kB / 0.7953 GB, free: 4.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.01059, allocations: 191.4 kB / 0.7955 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.01101, allocations: 284.8 kB / 0.7958 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.01102, allocations: 4.562 kB / 0.7958 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.01104, allocations: 12.38 kB / 0.7958 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003187/0.01136, allocations: 178.4 kB / 0.7959 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.01137, allocations: 0 / 0.7959 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.01138, allocations: 0 / 0.7959 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01139, allocations: 4 kB / 0.7959 GB, free: 3.715 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.01155, allocations: 72.83 kB / 0.796 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007202/0.01227, allocations: 0.5144 MB / 0.7965 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001573/0.01243, allocations: 84.77 kB / 0.7966 GB, free: 3.004 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.01252, allocations: 51.67 kB / 0.7966 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.01281, allocations: 93.48 kB / 0.7967 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.01284, allocations: 37.38 kB / 0.7968 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.01284, allocations: 0 / 0.7968 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0005743/0.01341, allocations: 199.9 kB / 0.797 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.01345, allocations: 55.39 kB / 0.797 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.01365, allocations: 322.3 kB / 0.7973 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.01367, allocations: 29.7 kB / 0.7973 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.01376, allocations: 202.7 kB / 0.7975 GB, free: 1.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.01379, allocations: 51.59 kB / 0.7976 GB, free: 1.922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.01385, allocations: 43.34 kB / 0.7976 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.01398, allocations: 0.5079 MB / 0.7981 GB, free: 1.352 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.042e-05/0.01407, allocations: 43.97 kB / 0.7982 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.249e-05/0.01415, allocations: 41.7 kB / 0.7982 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.01432, allocations: 97.47 kB / 0.7983 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.01432, allocations: 0 / 0.7983 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002555/0.01458, allocations: 181.3 kB / 0.7985 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.01459, allocations: 4 kB / 0.7985 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.0146, allocations: 0 / 0.7985 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.01461, allocations: 0 / 0.7985 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.0148, allocations: 51.94 kB / 0.7985 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01481, allocations: 0 / 0.7985 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.01491, allocations: 27.92 kB / 0.7986 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01493, allocations: 7.984 kB / 0.7986 GB, free: 0.8984 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 9.471e-05/0.01502, allocations: 168.5 kB / 0.7987 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.01507, allocations: 35.81 kB / 0.7988 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.01537, allocations: 180.3 kB / 0.7989 GB, free: 0.5039 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.01537, allocations: 7.938 kB / 0.7989 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01538, allocations: 0 / 0.7989 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01538, allocations: 0 / 0.7989 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.01557, allocations: 224.4 kB / 0.7992 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01557, allocations: 0 / 0.7992 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.01571, allocations: 47.89 kB / 0.7992 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01572, allocations: 0 / 0.7992 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01573, allocations: 7.984 kB / 0.7992 GB, free: 192 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01573, allocations: 4 kB / 0.7992 GB, free: 188 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.01574, allocations: 4 kB / 0.7992 GB, free: 184 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.01604, allocations: 307.6 kB / 0.7995 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.979e-05/0.01611, allocations: 55.7 kB / 0.7996 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.01614, allocations: 0 / 0.7996 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.01625, allocations: 19.98 kB / 0.7996 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.01632, allocations: 19.95 kB / 0.7996 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.01633, allocations: 8 kB / 0.7996 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001171/0.01645, allocations: 227 kB / 0.7998 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01645, allocations: 0 / 0.7998 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002316/0.01668, allocations: 63.88 kB / 0.7999 GB, free: 15.48 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.0001931/0.01687, allocations: 151 kB / 0.8 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.01713, allocations: 114.1 kB / 0.8001 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01713, allocations: 3.938 kB / 0.8001 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.01723, allocations: 69.52 kB / 0.8002 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.01753, allocations: 52.98 kB / 0.8003 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009109/0.01844, allocations: 463.7 kB / 0.8007 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.198e-05/0.01849, allocations: 95.75 kB / 0.8008 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001307/0.01862, allocations: 37.45 kB / 0.8008 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.509e-05/0.01869, allocations: 24.48 kB / 0.8008 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of SimCode: time 1.252e-06/0.0187, allocations: 0 / 0.8008 GB, free: 14.42 MB / 0.7605 GB Notification: Performance of Templates: time 0.005534/0.02423, allocations: 3.5 MB / 0.8043 GB, free: 10.98 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: 5.123605587054044]