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.001433/0.001433, allocations: 108 kB / 15.6 MB, free: 132 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.001896/0.001896, allocations: 198.1 kB / 16.54 MB, free: 6.672 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.394/1.394, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.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.354/2.354, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6792/0.6805, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.002596/0.6831, allocations: 2.002 MB / 0.9515 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003317/0.6865, allocations: 3.698 MB / 0.9551 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.057e-05/0.6866, allocations: 5.25 kB / 0.9552 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002425/0.6868, allocations: 53.47 kB / 0.9552 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.6871, allocations: 116.6 kB / 0.9553 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.6874, allocations: 129.9 kB / 0.9554 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002393/0.6877, allocations: 251 kB / 0.9557 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.6878, allocations: 47.64 kB / 0.9557 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.688, allocations: 108 kB / 0.9558 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.6881, allocations: 116.1 kB / 0.9559 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.6881, allocations: 19.91 kB / 0.956 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.6884, allocations: 120 kB / 0.9561 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.568e-05/0.6884, allocations: 48.12 kB / 0.9561 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.6885, allocations: 100.2 kB / 0.9562 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.6888, allocations: 267.8 kB / 0.9565 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.6888, allocations: 0 / 0.9565 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6888, allocations: 0 / 0.9565 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.6888, allocations: 0 / 0.9565 GB, free: 3.586 MB / 0.7169 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.0009748/0.6898, allocations: 0.582 MB / 0.957 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.6898, allocations: 13.44 kB / 0.9571 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.626e-05/0.6899, allocations: 28.38 kB / 0.9571 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.6902, allocations: 279.7 kB / 0.9573 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.6903, allocations: 5.531 kB / 0.9573 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.6903, allocations: 6.344 kB / 0.9574 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.6908, allocations: 168.1 kB / 0.9575 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.6908, allocations: 3.938 kB / 0.9575 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.006e-05/0.6908, allocations: 9.156 kB / 0.9575 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.6908, allocations: 2.156 kB / 0.9575 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.6915, allocations: 188.1 kB / 0.9577 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.6922, allocations: 492.8 kB / 0.9582 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004/0.6926, allocations: 125.4 kB / 0.9583 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003393/0.693, allocations: 112 kB / 0.9584 GB, free: 2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007195/0.6937, allocations: 0.5492 MB / 0.9589 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.6937, allocations: 35.77 kB / 0.959 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.413e-06/0.6937, allocations: 0 / 0.959 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001155/0.6949, allocations: 357.7 kB / 0.9593 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.6949, allocations: 52.78 kB / 0.9594 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.6951, allocations: 239.1 kB / 0.9596 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.6951, allocations: 26.95 kB / 0.9596 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.6952, allocations: 137.3 kB / 0.9598 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.6952, allocations: 36.33 kB / 0.9598 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.6953, allocations: 34 kB / 0.9598 GB, free: 0.7109 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.6954, allocations: 332 kB / 0.9601 GB, free: 392 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.6957, allocations: 99.72 kB / 0.9602 GB, free: 344 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003382/0.6961, allocations: 91.66 kB / 0.9603 GB, free: 304 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000672/0.6967, allocations: 197 kB / 0.9605 GB, free: 208 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6968, allocations: 3.938 kB / 0.9605 GB, free: 204 kB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007605/0.6975, allocations: 257.2 kB / 0.9608 GB, free: 64 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6976, allocations: 7.125 kB / 0.9608 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6976, allocations: 4 kB / 0.9608 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6976, allocations: 0.875 kB / 0.9608 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6979, allocations: 53.59 kB / 0.9608 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.6979, allocations: 3.938 kB / 0.9608 GB, free: 32 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.6981, allocations: 27.44 kB / 0.9608 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.6982, allocations: 7.234 kB / 0.9609 GB, free: 16 kB / 0.7169 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.0001338/0.6983, allocations: 121.4 kB / 0.961 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.6984, allocations: 25.69 kB / 0.961 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008956/0.6993, allocations: 292.2 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.6993, allocations: 1.125 kB / 0.9613 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.6993, allocations: 5 kB / 0.9613 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.6993, allocations: 0 / 0.9613 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.6996, allocations: 281.2 kB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.6996, allocations: 1.281 kB / 0.9615 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.6999, allocations: 44.3 kB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.7, allocations: 1.031 kB / 0.9616 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.7, allocations: 8.703 kB / 0.9616 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.7, allocations: 1 kB / 0.9616 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7, allocations: 5 kB / 0.9616 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.7008, allocations: 360.2 kB / 0.9619 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.676e-05/0.701, allocations: 110.2 kB / 0.9621 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.701, allocations: 7.984 kB / 0.9621 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.7013, allocations: 26.55 kB / 0.9621 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.7013, allocations: 17.98 kB / 0.9621 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.7014, allocations: 2.656 kB / 0.9621 GB, free: 15 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001481/0.7015, allocations: 175.8 kB / 0.9623 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7015, allocations: 0 / 0.9623 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003322/0.7019, allocations: 55.97 kB / 0.9623 GB, free: 14.86 MB / 0.7325 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.0002005/0.7021, allocations: 125.6 kB / 0.9624 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008102/0.7029, allocations: 232.4 kB / 0.9627 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.7029, allocations: 0 / 0.9627 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.7033, allocations: 119.7 kB / 0.9628 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004295/0.7037, allocations: 31.8 kB / 0.9628 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009549/0.7047, allocations: 425.3 kB / 0.9632 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.7053, allocations: 0.7352 MB / 0.9639 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002093/0.7055, allocations: 34.2 kB / 0.964 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.505e-05/0.7056, allocations: 20.11 kB / 0.964 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7056, allocations: 0 / 0.964 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of Templates: time 0.007385/0.713, allocations: 2.683 MB / 0.9666 GB, free: 12.19 MB / 0.7325 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