Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005626/0.005626, allocations: 98.27 kB / 15.73 MB, free: 5.98 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.001201/0.001201, allocations: 193.6 kB / 16.67 MB, free: 5.91 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.137 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.773/2.773, allocations: 437 MB / 0.7105 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2909, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003447/0.2944, allocations: 2.016 MB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004713/0.2991, allocations: 3.696 MB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.2993, allocations: 4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.2997, allocations: 55.56 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.3001, allocations: 99.28 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.3006, allocations: 131.7 kB / 1.172 GB, free: 0.75 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004162/0.301, allocations: 251 kB / 1.173 GB, free: 0.5039 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3011, allocations: 64.34 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002631/0.3014, allocations: 107.5 kB / 1.173 GB, free: 340 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001895/0.3016, allocations: 115.5 kB / 1.173 GB, free: 224 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.491e-05/0.3017, allocations: 19.94 kB / 1.173 GB, free: 204 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002522/0.3019, allocations: 115.8 kB / 1.173 GB, free: 88 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.302, allocations: 39.84 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3021, allocations: 103.4 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.3025, allocations: 286.8 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3025, allocations: 8 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3025, allocations: 0 / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.3026, allocations: 0 / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00113/0.3037, allocations: 0.5876 MB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.3037, allocations: 8.031 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.3038, allocations: 24.8 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.3043, allocations: 275.8 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3043, allocations: 4.328 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.3043, allocations: 12.38 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.3049, allocations: 173.6 kB / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.3049, allocations: 0 / 1.175 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.3049, allocations: 8 kB / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.3049, allocations: 0 / 1.175 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006905/0.3056, allocations: 191.8 kB / 1.175 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.3065, allocations: 488.4 kB / 1.175 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.3069, allocations: 122.5 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/0.3073, allocations: 112.8 kB / 1.175 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008506/0.3081, allocations: 0.5493 MB / 1.176 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.3082, allocations: 38.56 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.3082, allocations: 0 / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001225/0.3094, allocations: 357.5 kB / 1.176 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3095, allocations: 51.41 kB / 1.176 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.3097, allocations: 238.7 kB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.3097, allocations: 25.7 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.3098, allocations: 147.9 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.3099, allocations: 31.7 kB / 1.177 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.3099, allocations: 37.69 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3101, allocations: 326.8 kB / 1.177 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.3104, allocations: 95.91 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.3108, allocations: 95.91 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006686/0.3115, allocations: 209.2 kB / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3115, allocations: 0 / 1.178 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007774/0.3122, allocations: 253.3 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3123, allocations: 12 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3123, allocations: 0 / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3123, allocations: 0 / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.3126, allocations: 43.94 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3126, allocations: 7.938 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.3129, allocations: 27.86 kB / 1.178 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.257e-05/0.3129, allocations: 11.98 kB / 1.178 GB, free: 10.82 MB / 0.9356 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 (11): * Single equations (assignments): 11 * 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.000109/0.313, allocations: 133.7 kB / 1.178 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.3131, allocations: 23.86 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008763/0.3139, allocations: 279.2 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.314, allocations: 0 / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.314, allocations: 3.938 kB / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.314, allocations: 0 / 1.178 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.3143, allocations: 277.4 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3143, allocations: 0 / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.3146, allocations: 51.89 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.3146, allocations: 3.984 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.3146, allocations: 4 kB / 1.179 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3146, allocations: 0 / 1.179 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3146, allocations: 7.938 kB / 1.179 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008279/0.3155, allocations: 351.2 kB / 1.179 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.3156, allocations: 112.9 kB / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.3156, allocations: 0 / 1.179 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.3159, allocations: 31.95 kB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/0.316, allocations: 19.92 kB / 1.179 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.316, allocations: 7.984 kB / 1.179 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001334/0.3161, allocations: 170 kB / 1.179 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3161, allocations: 0 / 1.179 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003276/0.3165, allocations: 59.83 kB / 1.179 GB, free: 9.223 MB / 0.9356 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 (11): * Single equations (assignments): 11 * 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.0002154/0.3167, allocations: 143 kB / 1.18 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0008116/0.3175, allocations: 211.8 kB / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3175, allocations: 0 / 1.18 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004001/0.3179, allocations: 119.8 kB / 1.18 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3184, allocations: 37.42 kB / 1.18 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/0.3192, allocations: 418.8 kB / 1.18 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.3195, allocations: 0.7314 MB / 1.181 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001668/0.3197, allocations: 40.83 kB / 1.181 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.3197, allocations: 23.42 kB / 1.181 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of SimCode: time 3.41e-07/0.3198, allocations: 0 / 1.181 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of Templates: time 0.00583/0.3256, allocations: 2.714 MB / 1.184 GB, free: 4.758 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches