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.0015/0.0015, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.00145/0.00145, allocations: 194.7 kB / 16.91 MB, free: 6.188 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.331/1.331, allocations: 222.9 MB / 240.6 MB, free: 15.38 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.266/2.266, allocations: 390.3 MB / 0.665 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 65 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2861, allocations: 140.4 MB / 0.9498 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003817/0.2899, allocations: 2.06 MB / 0.9518 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005216/0.2952, allocations: 3.646 MB / 0.9553 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002003/0.2954, allocations: 15.88 kB / 0.9554 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003585/0.2958, allocations: 47.67 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004428/0.2963, allocations: 95.41 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.2968, allocations: 111.8 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000438/0.2972, allocations: 251.1 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.2974, allocations: 52.38 kB / 0.9559 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.2977, allocations: 103.6 kB / 0.956 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.2979, allocations: 123.4 kB / 0.9561 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.182e-05/0.2979, allocations: 16 kB / 0.9561 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003185/0.2982, allocations: 115.8 kB / 0.9562 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.2983, allocations: 47.77 kB / 0.9563 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.2985, allocations: 99.45 kB / 0.9564 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003464/0.2988, allocations: 179.6 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.2988, allocations: 4 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of FrontEnd: time 5.471e-06/0.2988, allocations: 0 / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.2989, allocations: 7.938 kB / 0.9566 GB, free: 2.25 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.001243/0.3001, allocations: 0.5841 MB / 0.9571 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3002, allocations: 8.031 kB / 0.9571 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.039e-05/0.3002, allocations: 24.66 kB / 0.9572 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/0.3007, allocations: 271.5 kB / 0.9574 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.3007, allocations: 8.375 kB / 0.9574 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.3007, allocations: 12.38 kB / 0.9574 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004978/0.3013, allocations: 170.7 kB / 0.9576 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.3013, allocations: 0 / 0.9576 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.955e-05/0.3013, allocations: 0 / 0.9576 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.3013, allocations: 4 kB / 0.9576 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.302, allocations: 199.8 kB / 0.9578 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009741/0.303, allocations: 488.4 kB / 0.9583 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004002/0.3034, allocations: 130.4 kB / 0.9584 GB, free: 236 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.3037, allocations: 112.9 kB / 0.9585 GB, free: 120 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000933/0.3047, allocations: 0.5493 MB / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3047, allocations: 46.55 kB / 0.9591 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.3047, allocations: 0 / 0.9591 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.00118/0.3059, allocations: 345.1 kB / 0.9594 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.306, allocations: 51.41 kB / 0.9595 GB, free: 15 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.3062, allocations: 238.7 kB / 0.9597 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3063, allocations: 33.7 kB / 0.9597 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3064, allocations: 136 kB / 0.9598 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.65e-05/0.3064, allocations: 39.39 kB / 0.9599 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.029e-05/0.3065, allocations: 29.69 kB / 0.9599 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3067, allocations: 334.8 kB / 0.9602 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.307, allocations: 99.78 kB / 0.9603 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003315/0.3074, allocations: 99.91 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006297/0.308, allocations: 196.7 kB / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.308, allocations: 0 / 0.9606 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007662/0.3088, allocations: 257.2 kB / 0.9608 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3088, allocations: 4 kB / 0.9609 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3088, allocations: 0 / 0.9609 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3088, allocations: 0 / 0.9609 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.3092, allocations: 51.88 kB / 0.9609 GB, free: 13.46 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.3092, allocations: 7.938 kB / 0.9609 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.3094, allocations: 27.91 kB / 0.9609 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3094, allocations: 7.984 kB / 0.9609 GB, free: 13.41 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.0001383/0.3096, allocations: 123.8 kB / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.552e-05/0.3097, allocations: 23.72 kB / 0.9611 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008739/0.3105, allocations: 283.9 kB / 0.9614 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3105, allocations: 0 / 0.9614 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3106, allocations: 3.938 kB / 0.9614 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3106, allocations: 0 / 0.9614 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.311, allocations: 281.3 kB / 0.9616 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.311, allocations: 4 kB / 0.9616 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.3113, allocations: 43.95 kB / 0.9617 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.3113, allocations: 0 / 0.9617 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/0.3113, allocations: 3.984 kB / 0.9617 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/0.3113, allocations: 3.984 kB / 0.9617 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3113, allocations: 7.938 kB / 0.9617 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.3122, allocations: 359.1 kB / 0.962 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.3123, allocations: 112.8 kB / 0.9621 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3123, allocations: 0 / 0.9621 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.3126, allocations: 27.97 kB / 0.9622 GB, free: 12.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.3127, allocations: 19.91 kB / 0.9622 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.3127, allocations: 15.94 kB / 0.9622 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001514/0.3129, allocations: 174 kB / 0.9624 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3129, allocations: 0 / 0.9624 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003388/0.3132, allocations: 55.91 kB / 0.9624 GB, free: 11.81 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.000254/0.3135, allocations: 131.2 kB / 0.9625 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007965/0.3143, allocations: 223.7 kB / 0.9628 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3143, allocations: 4 kB / 0.9628 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.3147, allocations: 115.8 kB / 0.9629 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000476/0.3152, allocations: 32.7 kB / 0.9629 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.3162, allocations: 0.504 MB / 0.9634 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3166, allocations: 0.7353 MB / 0.9641 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.3167, allocations: 31.41 kB / 0.9641 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of SimCode: time 4.11e-07/0.3167, allocations: 0 / 0.9641 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of Templates: time 0.005925/0.3227, allocations: 2.974 MB / 0.967 GB, free: 7.031 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