Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009911/0.0009911, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.0009375/0.0009375, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9028/0.9028, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.272/2.272, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.[0-9,]+.|solGai.QSol_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.804e-05, allocations: 6.312 kB / 0.8898 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003462/0.00348, allocations: 2.194 MB / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00594/0.00942, allocations: 4.176 MB / 0.896 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001805/0.009601, allocations: 7.938 kB / 0.896 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008755/0.01048, allocations: 183 kB / 0.8962 GB, free: 3.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.01068, allocations: 87.22 kB / 0.8962 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008971/0.01158, allocations: 331.1 kB / 0.8966 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007712/0.01235, allocations: 466.4 kB / 0.897 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.01249, allocations: 40.89 kB / 0.897 GB, free: 2.27 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.01282, allocations: 179.6 kB / 0.8972 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.01302, allocations: 135.6 kB / 0.8973 GB, free: 1.961 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.01308, allocations: 20 kB / 0.8974 GB, free: 1.941 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000852/0.01393, allocations: 331.4 kB / 0.8977 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.01405, allocations: 119.7 kB / 0.8978 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.01417, allocations: 103.7 kB / 0.8979 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007437/0.01492, allocations: 0.5451 MB / 0.8984 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01492, allocations: 0 / 0.8984 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.82e-07/0.01492, allocations: 0 / 0.8984 GB, free: 0.8516 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.01493, allocations: 0 / 0.8984 GB, free: 0.8516 MB / 0.8542 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.00117/0.0161, allocations: 0.8153 MB / 0.8992 GB, free: 15.99 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.01614, allocations: 12.62 kB / 0.8992 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.01732, allocations: 212.4 kB / 0.8994 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.01768, allocations: 274.6 kB / 0.8997 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.0177, allocations: 8.562 kB / 0.8997 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.01773, allocations: 12.38 kB / 0.8997 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.01813, allocations: 174.7 kB / 0.8999 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.01813, allocations: 4 kB / 0.8999 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.328e-05/0.01816, allocations: 4 kB / 0.8999 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.01816, allocations: 0 / 0.8999 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001748/0.01834, allocations: 65.62 kB / 0.8999 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.01938, allocations: 0.5113 MB / 0.9004 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.01956, allocations: 83.2 kB / 0.9005 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.01966, allocations: 50.59 kB / 0.9006 GB, free: 14.52 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.01972, allocations: 31.92 kB / 0.9006 GB, free: 14.49 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.01975, allocations: 33.39 kB / 0.9006 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.01975, allocations: 0 / 0.9006 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13): time 0.0004836/0.02023, allocations: 197.6 kB / 0.9008 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.02026, allocations: 51.41 kB / 0.9009 GB, free: 14.19 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003903/0.02065, allocations: 454.4 kB / 0.9013 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.02067, allocations: 33.7 kB / 0.9013 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.02084, allocations: 259.1 kB / 0.9016 GB, free: 13.43 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.02089, allocations: 43.64 kB / 0.9016 GB, free: 13.39 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.021, allocations: 63.3 kB / 0.9017 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.02117, allocations: 0.5273 MB / 0.9022 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.02131, allocations: 89.84 kB / 0.9023 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.02144, allocations: 86.84 kB / 0.9024 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002588/0.0217, allocations: 160 kB / 0.9025 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.02171, allocations: 7.984 kB / 0.9025 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003058/0.02201, allocations: 306.3 kB / 0.9028 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.043e-05/0.02204, allocations: 45.69 kB / 0.9029 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.02205, allocations: 0 / 0.9029 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.02206, allocations: 0 / 0.9029 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001909/0.02225, allocations: 55.88 kB / 0.9029 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-06/0.02225, allocations: 0 / 0.9029 GB, free: 12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.02237, allocations: 43.81 kB / 0.903 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.02239, allocations: 7.984 kB / 0.903 GB, free: 11.95 MB / 0.8698 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 9.04e-05/0.02248, allocations: 164.6 kB / 0.9031 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.02253, allocations: 47.66 kB / 0.9032 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.02278, allocations: 197 kB / 0.9034 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.02278, allocations: 7.984 kB / 0.9034 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.02278, allocations: 0 / 0.9034 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.02278, allocations: 0 / 0.9034 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.02297, allocations: 213 kB / 0.9036 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.02297, allocations: 0 / 0.9036 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.0231, allocations: 51.94 kB / 0.9036 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.02311, allocations: 0 / 0.9036 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.02312, allocations: 3.938 kB / 0.9036 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.02312, allocations: 7.984 kB / 0.9036 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.02312, allocations: 4 kB / 0.9036 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.02335, allocations: 307.5 kB / 0.9039 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.02342, allocations: 55.66 kB / 0.904 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.02344, allocations: 11.94 kB / 0.904 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.02356, allocations: 19.98 kB / 0.904 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.02361, allocations: 23.95 kB / 0.904 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.02362, allocations: 4 kB / 0.904 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001277/0.02374, allocations: 283 kB / 0.9043 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02374, allocations: 4 kB / 0.9043 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005073/0.02425, allocations: 127.8 kB / 0.9044 GB, free: 10.39 MB / 0.8698 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.0002072/0.02446, allocations: 190.3 kB / 0.9046 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002439/0.0247, allocations: 262.6 kB / 0.9049 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.0247, allocations: 0 / 0.9049 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.02478, allocations: 59.59 kB / 0.9049 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.02505, allocations: 65.92 kB / 0.905 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.0258, allocations: 0.6 MB / 0.9056 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.02585, allocations: 104.3 kB / 0.9057 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001435/0.026, allocations: 45.94 kB / 0.9057 GB, free: 8.992 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.02617, allocations: 134.1 kB / 0.9058 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of SimCode: time 6.62e-07/0.02618, allocations: 0 / 0.9058 GB, free: 8.859 MB / 0.8698 GB Notification: Performance of Templates: time 0.007204/0.03338, allocations: 6.339 MB / 0.912 GB, free: 2.613 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.278136967215687]