Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002223/0.002223, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.368/1.368, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.41 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2869, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003213/0.2902, allocations: 1.868 MB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004492/0.2947, allocations: 3.602 MB / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001772/0.2949, allocations: 4 kB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009727/0.2959, allocations: 187.5 kB / 1.074 GB, free: 4.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003027/0.2962, allocations: 79.52 kB / 1.074 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.941e-05/0.2964, allocations: 27.84 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.2969, allocations: 263.2 kB / 1.074 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2971, allocations: 33.48 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.2973, allocations: 79.69 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.2975, allocations: 71.69 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.808e-05/0.2975, allocations: 8 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.2976, allocations: 27.92 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.361e-05/0.2977, allocations: 63.8 kB / 1.074 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.361e-05/0.2978, allocations: 87.42 kB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.298, allocations: 183.3 kB / 1.075 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.298, allocations: 4 kB / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.298, allocations: 0 / 1.075 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.882e-06/0.298, allocations: 0 / 1.075 GB, free: 3.828 MB / 0.8262 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.0008665/0.2989, allocations: 0.5293 MB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.299, allocations: 8.031 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.072e-05/0.299, allocations: 24.66 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.2994, allocations: 251.6 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.2994, allocations: 4.375 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2994, allocations: 8.375 kB / 1.075 GB, free: 2.922 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004095/0.2998, allocations: 141.7 kB / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2999, allocations: 0 / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.2999, allocations: 0 / 1.076 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.075e-05/0.2999, allocations: 15.97 kB / 1.076 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.3005, allocations: 143.9 kB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001002/0.3015, allocations: 468.3 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.3019, allocations: 166.5 kB / 1.076 GB, free: 1.941 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000284/0.3022, allocations: 104.8 kB / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3023, allocations: 0 / 1.076 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.3023, allocations: 42.5 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.3023, allocations: 0 / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0009711/0.3033, allocations: 293.7 kB / 1.077 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.3034, allocations: 51.41 kB / 1.077 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.3037, allocations: 246.7 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.3037, allocations: 25.7 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.3038, allocations: 140 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/0.3039, allocations: 51.28 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.531e-05/0.304, allocations: 29.7 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3042, allocations: 338.8 kB / 1.078 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002465/0.3044, allocations: 75.88 kB / 1.078 GB, free: 0.5078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.3047, allocations: 87.42 kB / 1.078 GB, free: 436 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.3052, allocations: 164.7 kB / 1.078 GB, free: 268 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3052, allocations: 3.938 kB / 1.078 GB, free: 264 kB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005438/0.3057, allocations: 213.4 kB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.3058, allocations: 8 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3058, allocations: 0 / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3058, allocations: 0 / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.3061, allocations: 40.02 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.3061, allocations: 7.922 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.3063, allocations: 19.89 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.3063, allocations: 4 kB / 1.078 GB, free: 15.96 MB / 0.8419 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.0001245/0.3064, allocations: 141.7 kB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.3065, allocations: 23.72 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.164e-05/0.3066, allocations: 29.83 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.3066, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3066, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3066, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.3069, allocations: 277.4 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3069, allocations: 4 kB / 1.079 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3071, allocations: 35.97 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3072, allocations: 3.984 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3072, allocations: 0 / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3072, allocations: 3.938 kB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3072, allocations: 4 kB / 1.079 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.3078, allocations: 319.1 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.3079, allocations: 112.8 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.463e-05/0.3079, allocations: 0 / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.3081, allocations: 15.98 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3082, allocations: 7.984 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3082, allocations: 11.98 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000147/0.3084, allocations: 182 kB / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3084, allocations: 0 / 1.079 GB, free: 14.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002795/0.3087, allocations: 43.94 kB / 1.079 GB, free: 14.68 MB / 0.8419 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.0001586/0.3088, allocations: 103.7 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005726/0.3094, allocations: 198.7 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3094, allocations: 0 / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.3097, allocations: 91.92 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.3101, allocations: 60.95 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.311, allocations: 474.4 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.3113, allocations: 0.7511 MB / 1.081 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00018/0.3115, allocations: 49.38 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.75e-05/0.3116, allocations: 23.42 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.3116, allocations: 0 / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.005601/0.3172, allocations: 2.468 MB / 1.083 GB, free: 10.48 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches