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.001771/0.001771, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001873/0.001873, allocations: 166.1 kB / 24.87 MB, free: 9.281 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.9777/0.9777, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.776/1.776, allocations: 359 MB / 0.6063 GB, free: 10.88 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.312e-06/1.312e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.077e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002344/0.002365, allocations: 1.96 MB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003129/0.005494, allocations: 3.549 MB / 0.7937 GB, free: 6.684 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.005616, allocations: 7.938 kB / 0.7937 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.005837, allocations: 39.7 kB / 0.7937 GB, free: 6.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000404/0.006241, allocations: 139.8 kB / 0.7939 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.006345, allocations: 57.56 kB / 0.7939 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002019/0.006546, allocations: 179.1 kB / 0.7941 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.006635, allocations: 17.8 kB / 0.7941 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.006822, allocations: 125.3 kB / 0.7942 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.006933, allocations: 63.8 kB / 0.7943 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.006954, allocations: 8 kB / 0.7943 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.284e-05/0.007027, allocations: 27.92 kB / 0.7943 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.007078, allocations: 41.03 kB / 0.7944 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.00712, allocations: 47.84 kB / 0.7944 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.007283, allocations: 137 kB / 0.7945 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007285, allocations: 0 / 0.7945 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.783e-06/0.007287, allocations: 4 kB / 0.7945 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.007291, allocations: 0 / 0.7945 GB, free: 5.809 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.0005095/0.007801, allocations: 0.5206 MB / 0.795 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.007839, allocations: 12.03 kB / 0.7951 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.008034, allocations: 53.62 kB / 0.7951 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.008217, allocations: 192.2 kB / 0.7953 GB, free: 4.977 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.008227, allocations: 5.094 kB / 0.7953 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.008238, allocations: 384 / 0.7953 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.008392, allocations: 100.7 kB / 0.7954 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.0084, allocations: 4.188 kB / 0.7954 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.008411, allocations: 4.125 kB / 0.7954 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.008435, allocations: 8.531 kB / 0.7954 GB, free: 4.852 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.562e-05/0.008491, allocations: 33.25 kB / 0.7954 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.008843, allocations: 348.1 kB / 0.7958 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.008954, allocations: 84.17 kB / 0.7959 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.533e-05/0.008999, allocations: 35.67 kB / 0.7959 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.009014, allocations: 5.094 kB / 0.7959 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.009033, allocations: 41.39 kB / 0.7959 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.009034, allocations: 0 / 0.7959 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13): time 0.0002063/0.00924, allocations: 125 kB / 0.7961 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.009266, allocations: 51.41 kB / 0.7961 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.009387, allocations: 273.2 kB / 0.7964 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.009401, allocations: 29.7 kB / 0.7964 GB, free: 3.762 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.009468, allocations: 176.2 kB / 0.7966 GB, free: 3.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.009503, allocations: 51.53 kB / 0.7966 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.009547, allocations: 39.34 kB / 0.7966 GB, free: 3.488 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.00966, allocations: 0.5001 MB / 0.7971 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.009691, allocations: 12.86 kB / 0.7971 GB, free: 2.965 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.009718, allocations: 19.92 kB / 0.7972 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.588e-05/0.009794, allocations: 49.69 kB / 0.7972 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.009796, allocations: 0 / 0.7972 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001253/0.009921, allocations: 112.2 kB / 0.7973 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.009934, allocations: 10.03 kB / 0.7973 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.009938, allocations: 0.6875 kB / 0.7973 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.009946, allocations: 0 / 0.7973 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01005, allocations: 31.41 kB / 0.7974 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.01006, allocations: 0 / 0.7974 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.01011, allocations: 19.94 kB / 0.7974 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.01012, allocations: 0 / 0.7974 GB, free: 2.727 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.026e-05/0.01019, allocations: 164.5 kB / 0.7975 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.01022, allocations: 27.8 kB / 0.7976 GB, free: 2.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.155e-05/0.01025, allocations: 25.77 kB / 0.7976 GB, free: 2.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01025, allocations: 4.562 kB / 0.7976 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.01026, allocations: 0 / 0.7976 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.01026, allocations: 0.5625 kB / 0.7976 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.01039, allocations: 158.5 kB / 0.7977 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.01039, allocations: 0 / 0.7977 GB, free: 2.324 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.01047, allocations: 23.98 kB / 0.7978 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.01047, allocations: 4.609 kB / 0.7978 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.01048, allocations: 7.938 kB / 0.7978 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.01048, allocations: 0.6562 kB / 0.7978 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.01048, allocations: 0 / 0.7978 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001701/0.01065, allocations: 264.3 kB / 0.798 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.01069, allocations: 34.28 kB / 0.7981 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.01071, allocations: 11.94 kB / 0.7981 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.01077, allocations: 7.984 kB / 0.7981 GB, free: 1.961 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.01081, allocations: 11.98 kB / 0.7981 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.01081, allocations: 3.984 kB / 0.7981 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.01088, allocations: 189.1 kB / 0.7983 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01088, allocations: 2.906 kB / 0.7983 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001762/0.01106, allocations: 39.94 kB / 0.7983 GB, free: 1.723 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.0001054/0.01116, allocations: 103.2 kB / 0.7984 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01128, allocations: 59.64 kB / 0.7985 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01128, allocations: 3.938 kB / 0.7985 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.01133, allocations: 43.8 kB / 0.7985 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.01155, allocations: 33.17 kB / 0.7985 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.01215, allocations: 376 kB / 0.7989 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.916e-05/0.01219, allocations: 71.83 kB / 0.799 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.695e-05/0.01225, allocations: 30.08 kB / 0.799 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.01234, allocations: 98.17 kB / 0.7991 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/0.01234, allocations: 3.938 kB / 0.7991 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of Templates: time 0.003569/0.01591, allocations: 1.952 MB / 0.801 GB, free: 14.95 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.123176130000502]