Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.004955/0.004955, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001122/0.001122, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.97 kB / 0.9508 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2817, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00318/0.2849, allocations: 1.918 MB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004374/0.2893, allocations: 3.444 MB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.2894, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.2898, allocations: 55.61 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.2903, allocations: 135.3 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.419e-05/0.2904, allocations: 19.97 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002799/0.2907, allocations: 179.2 kB / 1.094 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2908, allocations: 29.67 kB / 1.094 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002353/0.2911, allocations: 99.5 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.2913, allocations: 75.69 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.2913, allocations: 12 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.2914, allocations: 31.91 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.2915, allocations: 35.84 kB / 1.094 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.2916, allocations: 79.47 kB / 1.094 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.2919, allocations: 171.3 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.2919, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.336e-06/0.2919, allocations: 7.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.07e-05/0.2919, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 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.0009099/0.2928, allocations: 0.4984 MB / 1.095 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2929, allocations: 8.031 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.2929, allocations: 24.66 kB / 1.095 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003513/0.2933, allocations: 250.9 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2933, allocations: 8.359 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.2933, allocations: 4.375 kB / 1.095 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003387/0.2937, allocations: 145.6 kB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.2937, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2937, allocations: 0 / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.2938, allocations: 12 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.2942, allocations: 143.9 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007538/0.295, allocations: 452.5 kB / 1.096 GB, free: 9.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.2954, allocations: 174.4 kB / 1.096 GB, free: 9.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.2956, allocations: 104.8 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2957, allocations: 4 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2957, allocations: 34.56 kB / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2957, allocations: 0 / 1.096 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0008487/0.2966, allocations: 303.7 kB / 1.096 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.2966, allocations: 51.41 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.2968, allocations: 217 kB / 1.096 GB, free: 8.562 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2969, allocations: 25.7 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.516e-05/0.297, allocations: 128 kB / 1.097 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.896e-05/0.297, allocations: 39.36 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.2971, allocations: 33.7 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.2972, allocations: 334.8 kB / 1.097 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002252/0.2975, allocations: 75.94 kB / 1.097 GB, free: 7.914 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.2977, allocations: 71.94 kB / 1.097 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004313/0.2981, allocations: 168.6 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2981, allocations: 0 / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005369/0.2987, allocations: 221.3 kB / 1.097 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2987, allocations: 5.562 kB / 1.097 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2987, allocations: 7.938 kB / 1.097 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.2987, allocations: 0 / 1.097 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.299, allocations: 31.97 kB / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.299, allocations: 0 / 1.097 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.2992, allocations: 23.83 kB / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.2992, allocations: 3.984 kB / 1.098 GB, free: 7.387 MB / 0.8575 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.0001349/0.2993, allocations: 129.8 kB / 1.098 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.2994, allocations: 31.73 kB / 1.098 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.647e-05/0.2995, allocations: 21.84 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2995, allocations: 0 / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.2995, allocations: 0 / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2995, allocations: 4 kB / 1.098 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003164/0.2998, allocations: 273.4 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2998, allocations: 0 / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.3001, allocations: 31.97 kB / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3001, allocations: 0 / 1.098 GB, free: 6.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.3001, allocations: 7.984 kB / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3001, allocations: 0 / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3001, allocations: 0 / 1.098 GB, free: 6.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005816/0.3007, allocations: 315.1 kB / 1.098 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3008, allocations: 120.7 kB / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.3008, allocations: 0 / 1.098 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.301, allocations: 15.98 kB / 1.098 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.3011, allocations: 11.97 kB / 1.098 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.3011, allocations: 15.98 kB / 1.098 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001381/0.3013, allocations: 152.5 kB / 1.099 GB, free: 6.184 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3013, allocations: 3.938 kB / 1.099 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002883/0.3016, allocations: 43.94 kB / 1.099 GB, free: 6.137 MB / 0.8575 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.0001722/0.3018, allocations: 107.2 kB / 1.099 GB, free: 6.023 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005198/0.3023, allocations: 175.8 kB / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3023, allocations: 0 / 1.099 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.3025, allocations: 95.88 kB / 1.099 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.303, allocations: 26.31 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008502/0.3039, allocations: 434 kB / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3042, allocations: 0.7272 MB / 1.1 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001583/0.3044, allocations: 44.55 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.267e-05/0.3044, allocations: 23.42 kB / 1.1 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of SimCode: time 4.01e-07/0.3044, allocations: 4 kB / 1.1 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of Templates: time 0.004998/0.3094, allocations: 1.857 MB / 1.102 GB, free: 2.621 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches