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.006038/0.006038, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001411/0.001411, allocations: 186.9 kB / 16.67 MB, free: 5.887 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.255/2.255, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 67.89 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7806, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002672/0.7833, allocations: 2.01 MB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003612/0.7869, allocations: 3.692 MB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.787, allocations: 1.719 kB / 1.093 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00026/0.7873, allocations: 58.78 kB / 1.094 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.7876, allocations: 106.1 kB / 1.094 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.7879, allocations: 127.1 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.7883, allocations: 253.3 kB / 1.094 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.7884, allocations: 51.47 kB / 1.094 GB, free: 1.117 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.7886, allocations: 113.4 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001568/0.7888, allocations: 121.8 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.7888, allocations: 16 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.7891, allocations: 118.8 kB / 1.094 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.7891, allocations: 42.12 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.7892, allocations: 99.22 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.7896, allocations: 278.8 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7896, allocations: 0.9688 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7896, allocations: 0 / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.7896, allocations: 0 / 1.095 GB, free: 0.7734 MB / 0.8575 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.001095/0.7907, allocations: 0.5787 MB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.7908, allocations: 9.375 kB / 1.095 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.011e-05/0.7908, allocations: 24.09 kB / 1.095 GB, free: 296 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003764/0.7912, allocations: 281.6 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.7913, allocations: 3.156 kB / 1.096 GB, free: 32 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.7913, allocations: 9.875 kB / 1.096 GB, free: 28 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005565/0.7919, allocations: 177.9 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.7919, allocations: 1.094 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.7919, allocations: 7.938 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.7919, allocations: 2.688 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.7927, allocations: 193.8 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009344/0.7936, allocations: 492.4 kB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004515/0.7941, allocations: 125.8 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003935/0.7945, allocations: 108.8 kB / 1.097 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008838/0.7954, allocations: 0.5495 MB / 1.097 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.7954, allocations: 32.23 kB / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=11): time 1.513e-06/0.7955, allocations: 0 / 1.097 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.00135/0.7968, allocations: 356.6 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.7969, allocations: 60.34 kB / 1.098 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.7971, allocations: 233 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.7972, allocations: 26.52 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.917e-05/0.7973, allocations: 141.3 kB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.7973, allocations: 39.3 kB / 1.098 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.7974, allocations: 30.81 kB / 1.098 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.7975, allocations: 331.8 kB / 1.098 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/0.7979, allocations: 99.12 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003731/0.7983, allocations: 95.58 kB / 1.099 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.799, allocations: 200.3 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.799, allocations: 1.422 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008477/0.7999, allocations: 255 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.7999, allocations: 6.328 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.7999, allocations: 0 / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7999, allocations: 1.672 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003356/0.8003, allocations: 54.8 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8003, allocations: 0.8438 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.8005, allocations: 28.72 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.8006, allocations: 9.906 kB / 1.099 GB, free: 13.8 MB / 0.8731 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.0001154/0.8007, allocations: 122.3 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.368e-05/0.8008, allocations: 18.19 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009394/0.8017, allocations: 287.1 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.8017, allocations: 9.688 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.8017, allocations: 0 / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.8017, allocations: 1.703 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.8021, allocations: 271.5 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.8021, allocations: 0 / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003052/0.8024, allocations: 43.72 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.8024, allocations: 1.062 kB / 1.1 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.8024, allocations: 7.531 kB / 1.1 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.8024, allocations: 9.016 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8024, allocations: 4.562 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008891/0.8033, allocations: 364.8 kB / 1.1 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.8035, allocations: 113.4 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.8035, allocations: 1.422 kB / 1.1 GB, free: 13.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.8038, allocations: 31.64 kB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.8039, allocations: 15.5 kB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.8039, allocations: 4.25 kB / 1.1 GB, free: 13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001627/0.8041, allocations: 169.6 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8041, allocations: 4 kB / 1.101 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003504/0.8044, allocations: 57.86 kB / 1.101 GB, free: 12.88 MB / 0.8731 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.0002112/0.8046, allocations: 130.5 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008514/0.8055, allocations: 222.4 kB / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8055, allocations: 0 / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/0.8059, allocations: 108.8 kB / 1.101 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.8064, allocations: 43.84 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/0.8073, allocations: 415.9 kB / 1.102 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.8076, allocations: 0.738 MB / 1.102 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.8078, allocations: 35.61 kB / 1.102 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.8078, allocations: 23 kB / 1.102 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/0.8078, allocations: 0 / 1.102 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of Templates: time 0.006709/0.8146, allocations: 2.709 MB / 1.105 GB, free: 11.48 MB / 0.8731 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/jenkins/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