Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001074/0.001074, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9272/0.9272, allocations: 177.1 MB / 204.2 MB, free: 5.402 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.976/1.976, allocations: 359 MB / 0.6052 GB, free: 11.05 MB / 0.573 GB " [Timeout remaining time 177] 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.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.232e-05/2.363e-05, allocations: 8.781 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002642/0.002666, allocations: 1.961 MB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003762/0.006428, allocations: 3.586 MB / 0.7925 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.006556, allocations: 3.938 kB / 0.7925 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.006844, allocations: 56.41 kB / 0.7926 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005041/0.007349, allocations: 124.5 kB / 0.7927 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.00749, allocations: 52.95 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.00773, allocations: 187.1 kB / 0.7929 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.007834, allocations: 18.64 kB / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.008055, allocations: 123.6 kB / 0.7931 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.008166, allocations: 61.03 kB / 0.7931 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.008189, allocations: 15.94 kB / 0.7931 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.008269, allocations: 25.36 kB / 0.7931 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.785e-05/0.008327, allocations: 39.84 kB / 0.7932 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.083e-05/0.008378, allocations: 39.86 kB / 0.7932 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.008578, allocations: 151.8 kB / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.008581, allocations: 0 / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.008582, allocations: 0.5312 kB / 0.7934 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.008587, allocations: 0.875 kB / 0.7934 GB, free: 6.086 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006128/0.0092, allocations: 0.512 MB / 0.7939 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.009239, allocations: 8.031 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.009456, allocations: 58.66 kB / 0.7939 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.009686, allocations: 195.6 kB / 0.7941 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.009701, allocations: 9.625 kB / 0.7941 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.009715, allocations: 4.375 kB / 0.7941 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.009915, allocations: 93.27 kB / 0.7942 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.009923, allocations: 0.9062 kB / 0.7942 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.009939, allocations: 8.125 kB / 0.7942 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.009975, allocations: 12.8 kB / 0.7942 GB, free: 5.129 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.045e-05/0.01006, allocations: 39.88 kB / 0.7943 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.01054, allocations: 384.4 kB / 0.7946 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.01067, allocations: 92.19 kB / 0.7947 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.996e-05/0.01074, allocations: 43.67 kB / 0.7948 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.01076, allocations: 0.9688 kB / 0.7948 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.01078, allocations: 41.39 kB / 0.7948 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.664e-06/0.01079, allocations: 3.938 kB / 0.7948 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0002764/0.01106, allocations: 139.2 kB / 0.795 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.01109, allocations: 51.41 kB / 0.795 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.01125, allocations: 272.3 kB / 0.7953 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.01127, allocations: 33.69 kB / 0.7953 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.01134, allocations: 166.9 kB / 0.7955 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.01138, allocations: 54.73 kB / 0.7955 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.01143, allocations: 39.36 kB / 0.7955 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.01156, allocations: 0.5001 MB / 0.796 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.925e-05/0.01161, allocations: 15.98 kB / 0.796 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.899e-05/0.01165, allocations: 19.98 kB / 0.7961 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.432e-05/0.01174, allocations: 51.67 kB / 0.7961 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01175, allocations: 0 / 0.7961 GB, free: 3.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001566/0.0119, allocations: 121 kB / 0.7962 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01192, allocations: 4 kB / 0.7962 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.01192, allocations: 0 / 0.7962 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.01193, allocations: 0.5312 kB / 0.7962 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.01206, allocations: 32.5 kB / 0.7963 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.01207, allocations: 0.5625 kB / 0.7963 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.667e-05/0.01212, allocations: 21.03 kB / 0.7963 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.01213, allocations: 4 kB / 0.7963 GB, free: 2.91 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 (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 7.944e-05/0.01221, allocations: 165.2 kB / 0.7965 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.01224, allocations: 31.8 kB / 0.7965 GB, free: 2.707 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.01228, allocations: 27.45 kB / 0.7965 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01228, allocations: 0 / 0.7965 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01228, allocations: 0 / 0.7965 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01228, allocations: 0 / 0.7965 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.01245, allocations: 188 kB / 0.7967 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01245, allocations: 0 / 0.7967 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.01253, allocations: 31.91 kB / 0.7967 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.01253, allocations: 0 / 0.7967 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.01254, allocations: 0 / 0.7967 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.01254, allocations: 4 kB / 0.7967 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01254, allocations: 0 / 0.7967 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002052/0.01275, allocations: 267.7 kB / 0.797 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.0128, allocations: 51.75 kB / 0.797 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.01281, allocations: 4.875 kB / 0.797 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.221e-05/0.01288, allocations: 4 kB / 0.797 GB, free: 2.098 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.01293, allocations: 17.03 kB / 0.797 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.01294, allocations: 4 kB / 0.7971 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.179e-05/0.01303, allocations: 193.1 kB / 0.7972 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01303, allocations: 1.094 kB / 0.7972 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001773/0.0132, allocations: 39.94 kB / 0.7973 GB, free: 1.852 MB / 0.7448 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.0001264/0.01333, allocations: 100.4 kB / 0.7974 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001672/0.0135, allocations: 72.45 kB / 0.7974 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.0135, allocations: 0 / 0.7974 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.247e-05/0.01356, allocations: 51.22 kB / 0.7975 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01381, allocations: 34.94 kB / 0.7975 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007466/0.01455, allocations: 378 kB / 0.7979 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.599e-05/0.0146, allocations: 75.83 kB / 0.798 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.732e-05/0.01469, allocations: 41.09 kB / 0.798 GB, free: 1.055 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.01474, allocations: 24.48 kB / 0.798 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of SimCode: time 7.61e-07/0.01474, allocations: 0 / 0.798 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.004357/0.0191, allocations: 1.883 MB / 0.7999 GB, free: 15.19 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.265512519981712]