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.001012/0.001012, 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.0009985/0.0009985, 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 0.9368/0.9368, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.821/1.821, allocations: 359 MB / 0.6055 GB, free: 11 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 3.677e-06/3.677e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.992e-05, allocations: 6.203 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003251/0.003281, allocations: 1.958 MB / 0.789 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004378/0.007659, allocations: 3.584 MB / 0.7925 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.007775, allocations: 0 / 0.7925 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.008051, allocations: 59.56 kB / 0.7926 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005076/0.008559, allocations: 123.2 kB / 0.7927 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000128/0.008687, allocations: 52.58 kB / 0.7927 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.008964, allocations: 183.6 kB / 0.7929 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.009078, allocations: 17.8 kB / 0.7929 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.00931, allocations: 121 kB / 0.793 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.009452, allocations: 63.8 kB / 0.7931 GB, free: 6.652 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.00948, allocations: 9.156 kB / 0.7931 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.29e-05/0.009573, allocations: 31.92 kB / 0.7931 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.009641, allocations: 39.84 kB / 0.7932 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.00971, allocations: 44.78 kB / 0.7932 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.009949, allocations: 151.3 kB / 0.7934 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.009952, allocations: 1.562 kB / 0.7934 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.009953, allocations: 0 / 0.7934 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.009958, allocations: 0 / 0.7934 GB, free: 6.383 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.0007482/0.01071, allocations: 0.5203 MB / 0.7939 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.01075, allocations: 8.031 kB / 0.7939 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000312/0.01106, allocations: 57.33 kB / 0.7939 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.01137, allocations: 197.7 kB / 0.7941 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.01139, allocations: 4.312 kB / 0.7941 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.0114, allocations: 4.375 kB / 0.7941 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.01165, allocations: 105 kB / 0.7942 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.01166, allocations: 192 / 0.7942 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.01168, allocations: 4.125 kB / 0.7942 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-05/0.01172, allocations: 11.98 kB / 0.7943 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.01185, allocations: 40.86 kB / 0.7943 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000603/0.01245, allocations: 380.1 kB / 0.7947 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.01265, allocations: 103.5 kB / 0.7948 GB, free: 4.855 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.01275, allocations: 44.72 kB / 0.7948 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.01276, allocations: 4 kB / 0.7948 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.01279, allocations: 33.39 kB / 0.7948 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.914e-06/0.01279, allocations: 4.562 kB / 0.7948 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0003932/0.01318, allocations: 138.5 kB / 0.795 GB, free: 4.617 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.01322, allocations: 51.41 kB / 0.795 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.01345, allocations: 273.3 kB / 0.7953 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.01347, allocations: 25.7 kB / 0.7953 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.01356, allocations: 172.2 kB / 0.7955 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.356e-05/0.01362, allocations: 55.53 kB / 0.7955 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.64e-05/0.01368, allocations: 35.36 kB / 0.7956 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.01384, allocations: 0.5001 MB / 0.796 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.586e-05/0.01392, allocations: 20.95 kB / 0.7961 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.329e-05/0.01398, allocations: 18.48 kB / 0.7961 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.01412, allocations: 57.98 kB / 0.7961 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.01413, allocations: 0 / 0.7961 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002273/0.01435, allocations: 113.5 kB / 0.7962 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01437, allocations: 8 kB / 0.7962 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.01437, allocations: 0 / 0.7962 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.01439, allocations: 3.438 kB / 0.7963 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.01457, allocations: 27.97 kB / 0.7963 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.01458, allocations: 0 / 0.7963 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.01467, allocations: 15.94 kB / 0.7963 GB, free: 3.199 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.01469, allocations: 4 kB / 0.7963 GB, free: 3.195 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 9.993e-05/0.01479, allocations: 164.5 kB / 0.7965 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.196e-05/0.01485, allocations: 27.8 kB / 0.7965 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.587e-05/0.0149, allocations: 26.48 kB / 0.7965 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.01491, allocations: 4 kB / 0.7965 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01491, allocations: 0.5 kB / 0.7965 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01492, allocations: 1.125 kB / 0.7965 GB, free: 2.973 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.01514, allocations: 184.5 kB / 0.7967 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01514, allocations: 0 / 0.7967 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.01529, allocations: 32.69 kB / 0.7967 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01529, allocations: 4 kB / 0.7967 GB, free: 2.723 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.01531, allocations: 4.5 kB / 0.7967 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.01531, allocations: 0.875 kB / 0.7967 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01531, allocations: 0 / 0.7967 GB, free: 2.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.01562, allocations: 274.7 kB / 0.797 GB, free: 2.434 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.01569, allocations: 39.77 kB / 0.797 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.01572, allocations: 7.938 kB / 0.797 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.01586, allocations: 9.344 kB / 0.797 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.01592, allocations: 11.97 kB / 0.7971 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.01593, allocations: 8 kB / 0.7971 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001371/0.01607, allocations: 194 kB / 0.7972 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01607, allocations: 0 / 0.7972 GB, free: 2.172 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003/0.01637, allocations: 39.94 kB / 0.7973 GB, free: 2.133 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.0001446/0.01651, allocations: 100.6 kB / 0.7974 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002173/0.01673, allocations: 73.64 kB / 0.7975 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01673, allocations: 0 / 0.7975 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.697e-05/0.01683, allocations: 53.34 kB / 0.7975 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.0172, allocations: 37.14 kB / 0.7975 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.01824, allocations: 369.5 kB / 0.7979 GB, free: 1.473 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.0183, allocations: 75.83 kB / 0.798 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001497/0.01845, allocations: 46.14 kB / 0.798 GB, free: 1.336 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.01852, allocations: 20.48 kB / 0.798 GB, free: 1.316 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.01852, allocations: 4 kB / 0.798 GB, free: 1.312 MB / 0.7448 GB Notification: Performance of Templates: time 0.004154/0.02268, allocations: 1.753 MB / 0.7997 GB, free: 15.61 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.085389406885952]