Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.001019/0.001019, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009824/0.0009824, allocations: 169 kB / 23.02 MB, free: 1.551 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.9783/0.9783, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.08/2.08, allocations: 429.5 MB / 0.6732 GB, free: 4.027 MB / 0.6355 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.061e-05, allocations: 7.578 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.0023/0.002321, allocations: 1.937 MB / 0.8801 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003267/0.005588, allocations: 3.677 MB / 0.8837 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.599e-05/0.005674, allocations: 3.938 kB / 0.8837 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006763/0.00635, allocations: 162.1 kB / 0.8838 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.006503, allocations: 84.14 kB / 0.8839 GB, free: 452 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 9.009e-05/0.006593, allocations: 56.83 kB / 0.8839 GB, free: 396 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003853/0.006979, allocations: 282.5 kB / 0.8842 GB, free: 116 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.00709, allocations: 17.78 kB / 0.8842 GB, free: 92 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.007516, allocations: 99.77 kB / 0.8843 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.007627, allocations: 63.8 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.007648, allocations: 8 kB / 0.8844 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.719e-05/0.007725, allocations: 23.94 kB / 0.8844 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.007784, allocations: 64.48 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.007838, allocations: 55.84 kB / 0.8845 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.008039, allocations: 155.4 kB / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.008042, allocations: 0 / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.41e-07/0.008042, allocations: 0 / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.008048, allocations: 4 kB / 0.8847 GB, free: 15.62 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005711/0.00862, allocations: 0.5538 MB / 0.8852 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.008655, allocations: 8.031 kB / 0.8852 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004308/0.009086, allocations: 116.7 kB / 0.8853 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.009336, allocations: 203.6 kB / 0.8855 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.009346, allocations: 8.359 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.009363, allocations: 4.375 kB / 0.8855 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.009553, allocations: 110.8 kB / 0.8857 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.009562, allocations: 4.172 kB / 0.8857 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.009576, allocations: 12.12 kB / 0.8857 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.009605, allocations: 11.98 kB / 0.8857 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.009702, allocations: 46.25 kB / 0.8857 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.01016, allocations: 395.6 kB / 0.8861 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.01031, allocations: 107 kB / 0.8862 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.184e-05/0.01039, allocations: 43.61 kB / 0.8862 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.0104, allocations: 4 kB / 0.8863 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.01043, allocations: 37.39 kB / 0.8863 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=13): time 1.193e-06/0.01043, allocations: 4 kB / 0.8863 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13): time 0.0003038/0.01073, allocations: 149.7 kB / 0.8864 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.01076, allocations: 55.41 kB / 0.8865 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001724/0.01093, allocations: 296.3 kB / 0.8868 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.01095, allocations: 29.7 kB / 0.8868 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.502e-05/0.01104, allocations: 186.8 kB / 0.887 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.01108, allocations: 47.58 kB / 0.887 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.01113, allocations: 35.36 kB / 0.8871 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.01127, allocations: 0.5118 MB / 0.8876 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.01132, allocations: 27.92 kB / 0.8876 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-05/0.01137, allocations: 27.48 kB / 0.8876 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.01149, allocations: 63.67 kB / 0.8877 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.01149, allocations: 0 / 0.8877 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001753/0.01167, allocations: 125.4 kB / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.01168, allocations: 4 kB / 0.8878 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.01168, allocations: 0 / 0.8878 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.0117, allocations: 4 kB / 0.8878 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.01184, allocations: 31.91 kB / 0.8878 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01185, allocations: 4 kB / 0.8878 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.64e-05/0.01193, allocations: 15.98 kB / 0.8878 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.01194, allocations: 4 kB / 0.8878 GB, free: 12.18 MB / 0.8542 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 (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 prepare postOptimizeDAE: time 8.316e-05/0.01202, allocations: 156.6 kB / 0.888 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.01206, allocations: 31.78 kB / 0.888 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.0121, allocations: 29.78 kB / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01211, allocations: 0 / 0.8881 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.01211, allocations: 7.938 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01212, allocations: 3.984 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.01228, allocations: 204.5 kB / 0.8883 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.01228, allocations: 0 / 0.8883 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.01238, allocations: 39.84 kB / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.01238, allocations: 0 / 0.8883 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.0124, allocations: 4 kB / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.0124, allocations: 0 / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0124, allocations: 0 / 0.8883 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.01262, allocations: 271.8 kB / 0.8886 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.01267, allocations: 39.78 kB / 0.8886 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.01269, allocations: 8 kB / 0.8886 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.926e-05/0.01277, allocations: 11.98 kB / 0.8886 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.01282, allocations: 11.98 kB / 0.8886 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.01283, allocations: 7.984 kB / 0.8886 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.573e-05/0.01293, allocations: 205.1 kB / 0.8888 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01293, allocations: 4 kB / 0.8888 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001721/0.0131, allocations: 36 kB / 0.8889 GB, free: 11.07 MB / 0.8542 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 7.369e-05/0.01317, allocations: 91.25 kB / 0.889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001678/0.01334, allocations: 83.33 kB / 0.889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.01334, allocations: 4 kB / 0.889 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.01341, allocations: 47.66 kB / 0.8891 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.01368, allocations: 62.77 kB / 0.8891 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007599/0.01444, allocations: 407.5 kB / 0.8895 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.138e-05/0.0145, allocations: 83.81 kB / 0.8896 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001211/0.01462, allocations: 53.44 kB / 0.8897 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.01468, allocations: 24.48 kB / 0.8897 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of SimCode: time 1.122e-06/0.01468, allocations: 0 / 0.8897 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.004749/0.01943, allocations: 2.48 MB / 0.8921 GB, free: 7.766 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.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.507650323677808]