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 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.EN12975HeatLoss,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.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,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.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 114.4 kB / 16.37 MB, free: 6.012 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.00111/0.00111, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 60.59 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2752, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003082/0.2784, allocations: 1.926 MB / 1.029 GB, free: 176 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00382/0.2822, allocations: 3.459 MB / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.2823, allocations: 0 / 1.032 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.2826, allocations: 51.62 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.2831, allocations: 131.3 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.113e-05/0.2831, allocations: 31.84 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.2834, allocations: 171.2 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.2835, allocations: 33.66 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.2837, allocations: 87.64 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.2838, allocations: 83.61 kB / 1.033 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.2839, allocations: 8 kB / 1.033 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.476e-05/0.2839, allocations: 31.91 kB / 1.033 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.284, allocations: 43.83 kB / 1.033 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.684e-05/0.2841, allocations: 71.55 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.2843, allocations: 175.2 kB / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2843, allocations: 0 / 1.033 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2843, allocations: 4 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.846e-06/0.2844, allocations: 0 / 1.033 GB, free: 11.78 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.0008955/0.2853, allocations: 0.4984 MB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2853, allocations: 8.031 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.2854, allocations: 20.66 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.2857, allocations: 254.8 kB / 1.034 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2857, allocations: 384 / 1.034 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.2857, allocations: 4.375 kB / 1.034 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003343/0.2861, allocations: 153.6 kB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.2861, allocations: 0 / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.2861, allocations: 4 kB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.2862, allocations: 11.98 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004141/0.2866, allocations: 139.9 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006658/0.2873, allocations: 448.5 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.2877, allocations: 174.5 kB / 1.035 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.2879, allocations: 100.8 kB / 1.035 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.2879, allocations: 7.969 kB / 1.035 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.288, allocations: 38.56 kB / 1.035 GB, free: 9.781 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.288, allocations: 4 kB / 1.035 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0007933/0.2888, allocations: 293.6 kB / 1.035 GB, free: 9.484 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.557e-05/0.2888, allocations: 59.41 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.289, allocations: 209 kB / 1.035 GB, free: 9.203 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.289, allocations: 25.7 kB / 1.035 GB, free: 9.172 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.2891, allocations: 124 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.113e-05/0.2892, allocations: 43.38 kB / 1.035 GB, free: 9.004 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.2892, allocations: 29.7 kB / 1.035 GB, free: 8.969 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.2893, allocations: 334.8 kB / 1.036 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.2896, allocations: 75.94 kB / 1.036 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2898, allocations: 79.92 kB / 1.036 GB, free: 8.48 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.2902, allocations: 163.8 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2902, allocations: 3.938 kB / 1.036 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004962/0.2908, allocations: 213.3 kB / 1.036 GB, free: 8.102 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2908, allocations: 8 kB / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2908, allocations: 0 / 1.036 GB, free: 8.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2908, allocations: 4 kB / 1.036 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.2911, allocations: 39.95 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.2911, allocations: 4 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001581/0.2912, allocations: 15.89 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.2913, allocations: 4 kB / 1.036 GB, free: 8.027 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.0001085/0.2914, allocations: 137.6 kB / 1.036 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.4e-05/0.2914, allocations: 15.81 kB / 1.036 GB, free: 7.867 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.2915, allocations: 37.83 kB / 1.037 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.2915, allocations: 3.984 kB / 1.037 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2915, allocations: 0 / 1.037 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2915, allocations: 3.938 kB / 1.037 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002642/0.2918, allocations: 265.4 kB / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2918, allocations: 0 / 1.037 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.292, allocations: 39.95 kB / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.292, allocations: 0 / 1.037 GB, free: 7.48 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.2921, allocations: 4 kB / 1.037 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2921, allocations: 4 kB / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2921, allocations: 0 / 1.037 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.2926, allocations: 319.1 kB / 1.037 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2927, allocations: 112.8 kB / 1.037 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.2928, allocations: 4 kB / 1.037 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.293, allocations: 19.97 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.293, allocations: 7.984 kB / 1.037 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.2931, allocations: 4 kB / 1.037 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001234/0.2932, allocations: 160.5 kB / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2932, allocations: 0 / 1.037 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002759/0.2935, allocations: 47.88 kB / 1.037 GB, free: 6.777 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.0001366/0.2936, allocations: 103.2 kB / 1.038 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005009/0.2941, allocations: 179.4 kB / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2941, allocations: 0 / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.2945, allocations: 103.9 kB / 1.038 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.2949, allocations: 28.36 kB / 1.038 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007514/0.2956, allocations: 418.6 kB / 1.038 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.2959, allocations: 0.7236 MB / 1.039 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001493/0.2961, allocations: 52.58 kB / 1.039 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.131e-05/0.2961, allocations: 23.42 kB / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of SimCode: time 2.5e-07/0.2962, allocations: 0 / 1.039 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of Templates: time 0.004402/0.3006, allocations: 1.827 MB / 1.041 GB, free: 3.297 MB / 0.8106 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 -s gbode -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/jenkins1/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