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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|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=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 106.7 kB / 16.36 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 191 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.36/1.36, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.454/2.454, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.86 kB / 0.8773 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003381/0.2761, allocations: 1.926 MB / 1.029 GB, free: 100 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2802, allocations: 3.44 MB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.2803, allocations: 0 / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.2807, allocations: 59.62 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004753/0.2811, allocations: 123.3 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.299e-05/0.2812, allocations: 27.95 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.2815, allocations: 171.2 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.2816, allocations: 33.67 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.2818, allocations: 83.62 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.282, allocations: 75.67 kB / 1.033 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.282, allocations: 8 kB / 1.033 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.469e-05/0.2821, allocations: 35.92 kB / 1.033 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.2822, allocations: 35.84 kB / 1.033 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.782e-05/0.2823, allocations: 75.55 kB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.2826, allocations: 167.2 kB / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2826, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2826, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2826, allocations: 4 kB / 1.033 GB, free: 11.75 MB / 0.8106 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.0008763/0.2835, allocations: 0.4945 MB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.2835, allocations: 12.03 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.2836, allocations: 20.66 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.2839, allocations: 246.8 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.284, allocations: 8.375 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.284, allocations: 8.312 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.2843, allocations: 137.7 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2844, allocations: 0 / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2844, allocations: 4 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.928e-05/0.2844, allocations: 11.98 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.2848, allocations: 131.8 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006826/0.2855, allocations: 444.5 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.2859, allocations: 166.1 kB / 1.034 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.2861, allocations: 104.8 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.2862, allocations: 7.984 kB / 1.035 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.2862, allocations: 30.56 kB / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2862, allocations: 0 / 1.035 GB, free: 9.789 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0007748/0.287, allocations: 281.7 kB / 1.035 GB, free: 9.508 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/0.287, allocations: 59.39 kB / 1.035 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001796/0.2872, allocations: 205 kB / 1.035 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.2873, allocations: 29.7 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.2873, allocations: 120 kB / 1.035 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.2874, allocations: 51.28 kB / 1.035 GB, free: 9.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.223e-05/0.2874, allocations: 33.7 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2876, allocations: 334.8 kB / 1.036 GB, free: 8.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.2878, allocations: 67.94 kB / 1.036 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.288, allocations: 75.94 kB / 1.036 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004178/0.2884, allocations: 148.8 kB / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2884, allocations: 0 / 1.036 GB, free: 8.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000497/0.2889, allocations: 216.3 kB / 1.036 GB, free: 8.145 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.2889, allocations: 4 kB / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.289, allocations: 0 / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.289, allocations: 0 / 1.036 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.2892, allocations: 35.97 kB / 1.036 GB, free: 8.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.2892, allocations: 4 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.2894, allocations: 27.88 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.2894, allocations: 3.938 kB / 1.036 GB, free: 8.07 MB / 0.8106 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 0.0001122/0.2895, allocations: 137.7 kB / 1.036 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.2896, allocations: 19.81 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.2896, allocations: 21.84 kB / 1.036 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2896, allocations: 0 / 1.036 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/0.2897, allocations: 3.984 kB / 1.036 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2897, allocations: 4 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002596/0.2899, allocations: 257.4 kB / 1.037 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2899, allocations: 4 kB / 1.037 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.2902, allocations: 35.95 kB / 1.037 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.2902, allocations: 0 / 1.037 GB, free: 7.543 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.2902, allocations: 4 kB / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.2902, allocations: 0 / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2902, allocations: 0 / 1.037 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.2907, allocations: 315 kB / 1.037 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.2909, allocations: 104.9 kB / 1.037 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.2909, allocations: 11.94 kB / 1.037 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.2911, allocations: 11.98 kB / 1.037 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/0.2911, allocations: 11.98 kB / 1.037 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2912, allocations: 3.984 kB / 1.037 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001171/0.2913, allocations: 156.5 kB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2913, allocations: 0 / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002807/0.2916, allocations: 43.94 kB / 1.037 GB, free: 6.859 MB / 0.8106 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.0001469/0.2917, allocations: 111.2 kB / 1.037 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.2922, allocations: 167.8 kB / 1.038 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2922, allocations: 0 / 1.038 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002325/0.2925, allocations: 91.86 kB / 1.038 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.2929, allocations: 24.66 kB / 1.038 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.2936, allocations: 413.8 kB / 1.038 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.2939, allocations: 0.7275 MB / 1.039 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.294, allocations: 52.59 kB / 1.039 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.2941, allocations: 19.42 kB / 1.039 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2941, allocations: 0 / 1.039 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of Templates: time 0.00445/0.2986, allocations: 1.699 MB / 1.041 GB, free: 3.527 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches