Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001419/0.001427, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 199.1 kB / 16.79 MB, free: 6.809 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.34/1.34, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.794/2.794, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.53 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.306, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003562/0.3096, allocations: 2.071 MB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004739/0.3144, allocations: 3.665 MB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.3146, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3149, allocations: 51.69 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.3153, allocations: 95.39 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.3157, allocations: 111.8 kB / 1.059 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.316, allocations: 239.1 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.3162, allocations: 52.25 kB / 1.059 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.3165, allocations: 99.61 kB / 1.059 GB, free: 1.934 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.3166, allocations: 107.5 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.3167, allocations: 12 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.317, allocations: 115.8 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.673e-05/0.317, allocations: 39.83 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.3171, allocations: 95.41 kB / 1.059 GB, free: 1.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3174, allocations: 191.5 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3174, allocations: 0 / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3174, allocations: 0 / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3174, allocations: 0 / 1.059 GB, free: 1.383 MB / 0.8106 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.001193/0.3186, allocations: 0.5841 MB / 1.06 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3187, allocations: 11.97 kB / 1.06 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.972e-05/0.3188, allocations: 24.66 kB / 1.06 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004347/0.3192, allocations: 263.6 kB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.3192, allocations: 12.38 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.946e-05/0.3193, allocations: 12.36 kB / 1.06 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.3198, allocations: 173.5 kB / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.3198, allocations: 0 / 1.061 GB, free: 228 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.3198, allocations: 8 kB / 1.061 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3199, allocations: 0 / 1.061 GB, free: 220 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.3205, allocations: 191.8 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009494/0.3215, allocations: 0.4885 MB / 1.061 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.322, allocations: 126.5 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.3223, allocations: 108.8 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/0.3232, allocations: 0.5454 MB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3233, allocations: 30.56 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=11): time 1.453e-06/0.3233, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001197/0.3245, allocations: 357.6 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.3245, allocations: 51.41 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.3248, allocations: 242.7 kB / 1.063 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.35e-05/0.3248, allocations: 25.7 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.294e-05/0.3249, allocations: 144 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.325, allocations: 35.45 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.429e-05/0.325, allocations: 29.7 kB / 1.063 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3252, allocations: 334.8 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.3255, allocations: 99.91 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003231/0.3258, allocations: 95.95 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006263/0.3265, allocations: 196.7 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3265, allocations: 3.938 kB / 1.064 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007738/0.3273, allocations: 261.2 kB / 1.064 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3273, allocations: 4 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.3273, allocations: 3.938 kB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3273, allocations: 0 / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.3276, allocations: 43.95 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.3277, allocations: 11.92 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.3279, allocations: 31.91 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3279, allocations: 0 / 1.064 GB, free: 12.55 MB / 0.8262 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.0001349/0.3281, allocations: 129.8 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.3281, allocations: 23.72 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008755/0.329, allocations: 287.1 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.329, allocations: 0 / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.329, allocations: 7.938 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.329, allocations: 0 / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003204/0.3294, allocations: 269.4 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3294, allocations: 0 / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.3297, allocations: 51.88 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3297, allocations: 0 / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.3297, allocations: 3.984 kB / 1.065 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.294e-05/0.3297, allocations: 8 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3297, allocations: 3.938 kB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007937/0.3305, allocations: 355 kB / 1.065 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3307, allocations: 112.8 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.3307, allocations: 8 kB / 1.065 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.331, allocations: 19.97 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.331, allocations: 19.91 kB / 1.065 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/0.3311, allocations: 4 kB / 1.065 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001586/0.3312, allocations: 174 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3312, allocations: 0 / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000341/0.3316, allocations: 59.91 kB / 1.065 GB, free: 10.96 MB / 0.8262 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.0002378/0.3318, allocations: 131.2 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0007879/0.3326, allocations: 224.3 kB / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3326, allocations: 0 / 1.066 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.333, allocations: 112.1 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004798/0.3335, allocations: 32.69 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009506/0.3345, allocations: 0.4979 MB / 1.066 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3348, allocations: 0.7355 MB / 1.067 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3349, allocations: 27.34 kB / 1.067 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of SimCode: time 3.1e-07/0.3349, allocations: 0 / 1.067 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of Templates: time 0.005753/0.3407, allocations: 2.97 MB / 1.07 GB, free: 6.191 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches