Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001404/0.001404, allocations: 108.1 kB / 16.27 MB, free: 5.984 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.001394/0.001394, allocations: 196.2 kB / 17.2 MB, free: 5.609 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.187/2.187, allocations: 390.3 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 68 kB / 0.8132 GB, free: 33.03 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2874, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003179/0.2906, allocations: 2.003 MB / 0.9522 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004822/0.2955, allocations: 3.7 MB / 0.9558 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.2957, allocations: 0 / 0.9558 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.2961, allocations: 63.48 kB / 0.9559 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003507/0.2964, allocations: 103.3 kB / 0.956 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004478/0.2969, allocations: 131.6 kB / 0.9561 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003304/0.2972, allocations: 247.1 kB / 0.9564 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.2974, allocations: 56.34 kB / 0.9564 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.2977, allocations: 107.6 kB / 0.9565 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2979, allocations: 115.5 kB / 0.9566 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.2979, allocations: 16 kB / 0.9566 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.2982, allocations: 123.8 kB / 0.9568 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.2983, allocations: 51.77 kB / 0.9568 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.2984, allocations: 95.39 kB / 0.9569 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003743/0.2988, allocations: 271.1 kB / 0.9572 GB, free: 1.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2988, allocations: 4 kB / 0.9572 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2988, allocations: 0 / 0.9572 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2988, allocations: 0 / 0.9572 GB, free: 1.789 MB / 0.7325 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.00121/0.3, allocations: 0.5802 MB / 0.9577 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.3001, allocations: 8.031 kB / 0.9577 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.3001, allocations: 24.66 kB / 0.9578 GB, free: 1.129 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.3006, allocations: 279.5 kB / 0.958 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.3006, allocations: 4.375 kB / 0.958 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.3006, allocations: 12.31 kB / 0.958 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.3012, allocations: 168.1 kB / 0.9582 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3012, allocations: 0 / 0.9582 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.3012, allocations: 8 kB / 0.9582 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3012, allocations: 4 kB / 0.9582 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007707/0.302, allocations: 191.8 kB / 0.9584 GB, free: 444 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.303, allocations: 488.3 kB / 0.9589 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000415/0.3034, allocations: 130.5 kB / 0.959 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.3038, allocations: 104.8 kB / 0.9591 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008763/0.3047, allocations: 0.5532 MB / 0.9596 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3048, allocations: 38.5 kB / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.3048, allocations: 0 / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.001532/0.3063, allocations: 353.3 kB / 0.96 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.3064, allocations: 51.41 kB / 0.9601 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.3066, allocations: 238.7 kB / 0.9603 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.3067, allocations: 29.7 kB / 0.9603 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3068, allocations: 136 kB / 0.9604 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.3068, allocations: 35.47 kB / 0.9605 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/0.3069, allocations: 29.69 kB / 0.9605 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3071, allocations: 334.8 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3074, allocations: 99.92 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.3078, allocations: 91.91 kB / 0.961 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.3084, allocations: 209.2 kB / 0.9612 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3084, allocations: 0 / 0.9612 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008813/0.3093, allocations: 261.2 kB / 0.9615 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3094, allocations: 5.719 kB / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3094, allocations: 0 / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3094, allocations: 0 / 0.9615 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/0.3097, allocations: 47.94 kB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3098, allocations: 7.938 kB / 0.9615 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.31, allocations: 27.91 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.31, allocations: 11.92 kB / 0.9616 GB, free: 12.96 MB / 0.7481 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.0001205/0.3102, allocations: 121.8 kB / 0.9617 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.3102, allocations: 31.7 kB / 0.9617 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008633/0.3111, allocations: 283.1 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.3111, allocations: 0 / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/0.3111, allocations: 3.938 kB / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3111, allocations: 0 / 0.962 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.3115, allocations: 273.4 kB / 0.9622 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3115, allocations: 4 kB / 0.9622 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/0.3118, allocations: 51.88 kB / 0.9623 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3118, allocations: 0 / 0.9623 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3118, allocations: 0 / 0.9623 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3118, allocations: 8 kB / 0.9623 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3118, allocations: 3.938 kB / 0.9623 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.3126, allocations: 355 kB / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.3128, allocations: 108.8 kB / 0.9627 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.756e-05/0.3128, allocations: 4 kB / 0.9627 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.313, allocations: 27.95 kB / 0.9628 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.3131, allocations: 15.92 kB / 0.9628 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.3132, allocations: 7.984 kB / 0.9628 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001457/0.3133, allocations: 177.9 kB / 0.963 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3133, allocations: 0 / 0.963 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003464/0.3137, allocations: 55.91 kB / 0.963 GB, free: 11.36 MB / 0.7481 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.0002391/0.3139, allocations: 131.2 kB / 0.9631 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008005/0.3147, allocations: 227.7 kB / 0.9634 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3147, allocations: 0 / 0.9634 GB, free: 11 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.3151, allocations: 115.9 kB / 0.9635 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004238/0.3156, allocations: 37.25 kB / 0.9635 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008858/0.3164, allocations: 454.1 kB / 0.9639 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.3168, allocations: 0.7353 MB / 0.9647 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.792e-05/0.3169, allocations: 27.41 kB / 0.9647 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of SimCode: time 2.304e-06/0.3169, allocations: 0 / 0.9647 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of Templates: time 0.005172/0.3221, allocations: 2.972 MB / 0.9676 GB, free: 6.641 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches