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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008132/0.0008133, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0008354/0.0008354, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003267, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6019, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001926/0.6039, allocations: 1.676 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003682/0.6076, allocations: 3.44 MB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.905e-05/0.6077, allocations: 0 / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.6079, allocations: 43.75 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.6082, allocations: 99.41 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.6085, allocations: 99.75 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.6087, allocations: 215.1 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.6089, allocations: 44.44 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.6091, allocations: 95.61 kB / 1.028 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.6092, allocations: 99.53 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.6092, allocations: 15.94 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.6094, allocations: 103.8 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.6095, allocations: 35.83 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.6096, allocations: 53.64 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.6098, allocations: 183.6 kB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6098, allocations: 3.938 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6098, allocations: 0 / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.6098, allocations: 0 / 1.028 GB, free: 9.793 MB / 0.7794 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.0009972/0.6108, allocations: 0.5802 MB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.6109, allocations: 16.55 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.6109, allocations: 23.72 kB / 1.029 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.6113, allocations: 254.5 kB / 1.029 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.6113, allocations: 8 kB / 1.029 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.6113, allocations: 4 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004832/0.6118, allocations: 197.5 kB / 1.029 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.6119, allocations: 0 / 1.029 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.6119, allocations: 7.953 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.6119, allocations: 4 kB / 1.029 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000676/0.6126, allocations: 235.8 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.6134, allocations: 0.4887 MB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.6138, allocations: 154.5 kB / 1.03 GB, free: 7.688 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.6142, allocations: 128.8 kB / 1.03 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007991/0.615, allocations: 0.5728 MB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.615, allocations: 34.56 kB / 1.031 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.423e-06/0.615, allocations: 3.938 kB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001175/0.6162, allocations: 425.2 kB / 1.031 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.6162, allocations: 59.41 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.6164, allocations: 230.7 kB / 1.032 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6165, allocations: 29.7 kB / 1.032 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.03e-05/0.6166, allocations: 132.1 kB / 1.032 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.6166, allocations: 39.45 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/0.6166, allocations: 0 / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6167, allocations: 334.8 kB / 1.032 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.6171, allocations: 115.9 kB / 1.032 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.6174, allocations: 119.9 kB / 1.032 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.6178, allocations: 115.9 kB / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.6178, allocations: 0 / 1.033 GB, free: 5.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007514/0.6185, allocations: 305.1 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6186, allocations: 5.562 kB / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6186, allocations: 0 / 1.033 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6186, allocations: 4 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003111/0.6189, allocations: 55.94 kB / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6189, allocations: 0 / 1.033 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.6191, allocations: 51.77 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.6192, allocations: 0 / 1.033 GB, free: 4.793 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.6193, allocations: 129.8 kB / 1.033 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.6193, allocations: 19.81 kB / 1.033 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/0.6202, allocations: 327 kB / 1.033 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.6202, allocations: 4 kB / 1.033 GB, free: 4.301 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6202, allocations: 4 kB / 1.033 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.6202, allocations: 0 / 1.033 GB, free: 4.297 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.6205, allocations: 273.4 kB / 1.034 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6205, allocations: 4 kB / 1.034 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.6208, allocations: 59.94 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.6208, allocations: 0 / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.6209, allocations: 3.984 kB / 1.034 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.6209, allocations: 0 / 1.034 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.6209, allocations: 4 kB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007961/0.6217, allocations: 407.8 kB / 1.034 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6218, allocations: 116.7 kB / 1.034 GB, free: 3.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.6218, allocations: 4 kB / 1.034 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.6221, allocations: 35.97 kB / 1.034 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.283e-05/0.6222, allocations: 15.97 kB / 1.034 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.6222, allocations: 4 kB / 1.034 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001365/0.6223, allocations: 170 kB / 1.035 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6223, allocations: 0 / 1.035 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003207/0.6227, allocations: 55.94 kB / 1.035 GB, free: 3.086 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002086/0.6229, allocations: 135.2 kB / 1.035 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007638/0.6236, allocations: 263.7 kB / 1.035 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.6237, allocations: 7.938 kB / 1.035 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.624, allocations: 136.2 kB / 1.035 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.6245, allocations: 36.66 kB / 1.035 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.6252, allocations: 485 kB / 1.036 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.6255, allocations: 0.7355 MB / 1.036 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001864/0.6257, allocations: 44.83 kB / 1.036 GB, free: 1.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.75e-05/0.6258, allocations: 15.42 kB / 1.036 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of SimCode: time 3.51e-07/0.6258, allocations: 0 / 1.036 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of Templates: time 0.005185/0.631, allocations: 2.309 MB / 1.039 GB, free: 14.9 MB / 0.795 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