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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.000962/0.0009619, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001027/0.001027, allocations: 172.7 kB / 15.95 MB, free: 208 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.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.425/2.425, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005399/0.0005399, allocations: 8 kB / 0.8154 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6952, allocations: 142.4 MB / 0.9544 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.001804/0.697, allocations: 1.657 MB / 0.9561 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003145/0.7002, allocations: 3.451 MB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.473e-05/0.7003, allocations: 2.156 kB / 0.9594 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.7005, allocations: 55.36 kB / 0.9595 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.7007, allocations: 93.12 kB / 0.9596 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.701, allocations: 99.72 kB / 0.9597 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.7013, allocations: 221.2 kB / 0.9599 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.7014, allocations: 35.77 kB / 0.9599 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.7016, allocations: 94.42 kB / 0.96 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.7017, allocations: 110.2 kB / 0.9601 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.7017, allocations: 8.031 kB / 0.9601 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.7019, allocations: 102.8 kB / 0.9602 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.702, allocations: 36.08 kB / 0.9602 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.702, allocations: 54.02 kB / 0.9603 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.7022, allocations: 180 kB / 0.9605 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7022, allocations: 5.312 kB / 0.9605 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.614e-06/0.7023, allocations: 0 / 0.9605 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7023, allocations: 0 / 0.9605 GB, free: 3.023 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.0009473/0.7032, allocations: 0.5826 MB / 0.961 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.7033, allocations: 9.625 kB / 0.9611 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.7033, allocations: 26.62 kB / 0.9611 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.7037, allocations: 258.4 kB / 0.9613 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.7037, allocations: 6.75 kB / 0.9613 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.7037, allocations: 9.453 kB / 0.9613 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.7042, allocations: 190.2 kB / 0.9615 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7042, allocations: 0 / 0.9615 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.7042, allocations: 5.062 kB / 0.9615 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.7042, allocations: 1.844 kB / 0.9615 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006658/0.7049, allocations: 236.4 kB / 0.9618 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.7057, allocations: 0.4992 MB / 0.9622 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.7061, allocations: 144.8 kB / 0.9624 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.7064, allocations: 131 kB / 0.9625 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/0.7071, allocations: 0.5707 MB / 0.9631 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.7071, allocations: 39.75 kB / 0.9631 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.7071, allocations: 3.984 kB / 0.9631 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001111/0.7083, allocations: 413.8 kB / 0.9635 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.7083, allocations: 54.34 kB / 0.9635 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.7085, allocations: 232.6 kB / 0.9638 GB, free: 396 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.7085, allocations: 25.7 kB / 0.9638 GB, free: 364 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.284e-05/0.7086, allocations: 139.6 kB / 0.9639 GB, free: 232 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.7086, allocations: 38.77 kB / 0.964 GB, free: 196 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.7086, allocations: 1.094 kB / 0.964 GB, free: 196 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.7087, allocations: 335.6 kB / 0.9643 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.7091, allocations: 118.5 kB / 0.9644 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.7094, allocations: 118.9 kB / 0.9645 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.7098, allocations: 118.7 kB / 0.9646 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7098, allocations: 3.953 kB / 0.9646 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007135/0.7105, allocations: 300.5 kB / 0.9649 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7105, allocations: 2.188 kB / 0.9649 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7105, allocations: 2.75 kB / 0.9649 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.699e-05/0.7106, allocations: 0 / 0.9649 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.7109, allocations: 57.34 kB / 0.965 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.7109, allocations: 1.031 kB / 0.965 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.7111, allocations: 47.98 kB / 0.965 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.7111, allocations: 3.469 kB / 0.965 GB, free: 15.53 MB / 0.7325 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.0001232/0.7113, allocations: 121.8 kB / 0.9651 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.929e-05/0.7113, allocations: 25.42 kB / 0.9652 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.7123, allocations: 330.6 kB / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.7124, allocations: 1 kB / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7124, allocations: 0 / 0.9655 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7124, allocations: 8.719 kB / 0.9655 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.7128, allocations: 269.3 kB / 0.9657 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.7128, allocations: 0.9375 kB / 0.9657 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.7131, allocations: 62.27 kB / 0.9658 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.7131, allocations: 5.094 kB / 0.9658 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.7132, allocations: 5.312 kB / 0.9658 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7132, allocations: 0 / 0.9658 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7132, allocations: 0.8125 kB / 0.9658 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000926/0.7141, allocations: 405.9 kB / 0.9662 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.7143, allocations: 109.9 kB / 0.9663 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.7143, allocations: 13.06 kB / 0.9663 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.7146, allocations: 35.5 kB / 0.9664 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.865e-05/0.7147, allocations: 13.02 kB / 0.9664 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.7147, allocations: 7.328 kB / 0.9664 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001923/0.7149, allocations: 166.2 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7149, allocations: 0 / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003949/0.7153, allocations: 60.3 kB / 0.9666 GB, free: 14.38 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 (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.0002868/0.7156, allocations: 132.6 kB / 0.9667 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008972/0.7165, allocations: 260.6 kB / 0.967 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7165, allocations: 1.312 kB / 0.967 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004046/0.7169, allocations: 141.3 kB / 0.9671 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004072/0.7173, allocations: 26.28 kB / 0.9671 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008607/0.7182, allocations: 492.6 kB / 0.9676 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.7185, allocations: 0.7393 MB / 0.9683 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000192/0.7187, allocations: 38.39 kB / 0.9684 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.027e-05/0.7188, allocations: 18.3 kB / 0.9684 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.7188, allocations: 0 / 0.9684 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.006537/0.7253, allocations: 2.308 MB / 0.9706 GB, free: 11.81 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