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.001023/0.001023, 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.0009589/0.0009589, 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.9811/0.9811, allocations: 177.1 MB / 204.2 MB, free: 5.254 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.774/1.774, allocations: 359 MB / 0.6052 GB, free: 10.99 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.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.202e-06/1.202e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.6e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002144/0.00216, allocations: 1.955 MB / 0.789 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.005152, allocations: 3.59 MB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.375e-05/0.005246, allocations: 5.5 kB / 0.7925 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002313/0.005477, allocations: 47.7 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003916/0.005869, allocations: 129 kB / 0.7927 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 9.918e-05/0.005968, allocations: 47.92 kB / 0.7927 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.006163, allocations: 189.5 kB / 0.7929 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.974e-05/0.006253, allocations: 17.8 kB / 0.7929 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.006428, allocations: 119.6 kB / 0.793 GB, free: 6.367 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.006535, allocations: 63.8 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.006557, allocations: 8 kB / 0.7931 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.006631, allocations: 36.53 kB / 0.7931 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.26e-05/0.006684, allocations: 31.86 kB / 0.7932 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.006733, allocations: 52.38 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.006909, allocations: 145 kB / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.823e-06/0.006911, allocations: 0 / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.006912, allocations: 0 / 0.7934 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.006916, allocations: 0 / 0.7934 GB, free: 6.039 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.0005334/0.007449, allocations: 0.5246 MB / 0.7939 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.007482, allocations: 8.031 kB / 0.7939 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.007675, allocations: 61.91 kB / 0.7939 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.007892, allocations: 197 kB / 0.7941 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.007902, allocations: 4.375 kB / 0.7941 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.007917, allocations: 8.375 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.008088, allocations: 100.6 kB / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.008096, allocations: 192 / 0.7942 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.008108, allocations: 3.938 kB / 0.7942 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.008137, allocations: 11.98 kB / 0.7943 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.00822, allocations: 42.38 kB / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.008642, allocations: 384.4 kB / 0.7947 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.008773, allocations: 99.12 kB / 0.7948 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.396e-05/0.008837, allocations: 43.11 kB / 0.7948 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.008854, allocations: 4 kB / 0.7948 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.008874, allocations: 37.33 kB / 0.7948 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.008875, allocations: 0 / 0.7948 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0002579/0.009133, allocations: 133.8 kB / 0.795 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.009159, allocations: 51.41 kB / 0.795 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.009308, allocations: 276.3 kB / 0.7953 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.009322, allocations: 29.7 kB / 0.7953 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.608e-05/0.009388, allocations: 163.4 kB / 0.7955 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.009426, allocations: 55.53 kB / 0.7955 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.009471, allocations: 41.23 kB / 0.7956 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.009582, allocations: 0.5079 MB / 0.796 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.404e-05/0.009627, allocations: 11.98 kB / 0.7961 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.009667, allocations: 19.94 kB / 0.7961 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.009768, allocations: 57.89 kB / 0.7961 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.009771, allocations: 3.938 kB / 0.7961 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001469/0.009918, allocations: 112.1 kB / 0.7962 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.009928, allocations: 4 kB / 0.7962 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.009932, allocations: 0 / 0.7962 GB, free: 2.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.009945, allocations: 4.5 kB / 0.7963 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01006, allocations: 28.64 kB / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.01006, allocations: 0 / 0.7963 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.46e-05/0.01012, allocations: 20.84 kB / 0.7963 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.01013, allocations: 0 / 0.7963 GB, free: 2.848 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.491e-05/0.0102, allocations: 165.4 kB / 0.7965 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.01023, allocations: 29.12 kB / 0.7965 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.572e-05/0.01027, allocations: 21.78 kB / 0.7965 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01027, allocations: 0 / 0.7965 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01028, allocations: 4 kB / 0.7965 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.01028, allocations: 4.578 kB / 0.7965 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.01044, allocations: 181.3 kB / 0.7967 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01044, allocations: 3.938 kB / 0.7967 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.01052, allocations: 33.53 kB / 0.7967 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.01052, allocations: 0 / 0.7967 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.01053, allocations: 11.98 kB / 0.7967 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01054, allocations: 4 kB / 0.7967 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01054, allocations: 1.125 kB / 0.7967 GB, free: 2.363 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.01073, allocations: 259.8 kB / 0.797 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.01078, allocations: 43.77 kB / 0.797 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.0108, allocations: 5.125 kB / 0.797 GB, free: 2.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.01087, allocations: 7.984 kB / 0.797 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.01091, allocations: 13.02 kB / 0.7971 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-06/0.01092, allocations: 4 kB / 0.7971 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.988e-05/0.01101, allocations: 197.1 kB / 0.7972 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01101, allocations: 0.5938 kB / 0.7972 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000174/0.01119, allocations: 32.44 kB / 0.7973 GB, free: 1.797 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.0001053/0.01129, allocations: 116.6 kB / 0.7974 GB, free: 1.672 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000145/0.01144, allocations: 66.66 kB / 0.7975 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01144, allocations: 0.7188 kB / 0.7975 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.969e-05/0.0115, allocations: 51.59 kB / 0.7975 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.01173, allocations: 41.62 kB / 0.7975 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.0124, allocations: 375.6 kB / 0.7979 GB, free: 1.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.424e-05/0.01244, allocations: 82.31 kB / 0.798 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.527e-05/0.01253, allocations: 42.03 kB / 0.798 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.01258, allocations: 20.48 kB / 0.798 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.01258, allocations: 0 / 0.798 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of Templates: time 0.003323/0.0159, allocations: 1.742 MB / 0.7997 GB, free: 15.26 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.046691583935171]