Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008312/0.008312, allocations: 100.7 kB / 15.73 MB, free: 6.059 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.002049/0.00205, allocations: 191.1 kB / 16.67 MB, free: 5.969 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.275/2.275, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 67.91 kB / 0.9509 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7939, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002921/0.7969, allocations: 1.909 MB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004068/0.801, allocations: 3.448 MB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.8011, allocations: 1 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.8015, allocations: 56.77 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004875/0.802, allocations: 136.3 kB / 1.093 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 8.64e-05/0.8021, allocations: 28.89 kB / 1.093 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002458/0.8023, allocations: 173.6 kB / 1.094 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.8024, allocations: 31.05 kB / 1.094 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.8026, allocations: 91.86 kB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.8028, allocations: 80.97 kB / 1.094 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.394e-05/0.8029, allocations: 13.55 kB / 1.094 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.803, allocations: 29.09 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.803, allocations: 39.62 kB / 1.094 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.045e-05/0.8031, allocations: 80.14 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.8034, allocations: 171.3 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.8034, allocations: 1.484 kB / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8034, allocations: 0 / 1.094 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.8034, allocations: 0.9062 kB / 1.094 GB, free: 1.23 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009156/0.8044, allocations: 0.5032 MB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.8044, allocations: 13 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.8045, allocations: 21.83 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004506/0.805, allocations: 249.7 kB / 1.095 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.805, allocations: 5.953 kB / 1.095 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.805, allocations: 7.688 kB / 1.095 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004546/0.8055, allocations: 140.5 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.8055, allocations: 4 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.8055, allocations: 0.9062 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.922e-05/0.8056, allocations: 9.406 kB / 1.095 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005361/0.8061, allocations: 145.8 kB / 1.095 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008124/0.8069, allocations: 458.8 kB / 1.096 GB, free: 76 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.8074, allocations: 167.6 kB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.8077, allocations: 109.6 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.8078, allocations: 1.5 kB / 1.096 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/0.8078, allocations: 32.5 kB / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.8078, allocations: 0 / 1.096 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13): time 0.001023/0.8088, allocations: 300.5 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.8089, allocations: 54.98 kB / 1.096 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.8092, allocations: 212.1 kB / 1.096 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.8092, allocations: 26.45 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 9.575e-05/0.8093, allocations: 121 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.001e-05/0.8094, allocations: 53.09 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.8095, allocations: 36.03 kB / 1.097 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8096, allocations: 333.4 kB / 1.097 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.8099, allocations: 76.17 kB / 1.097 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.8102, allocations: 74.73 kB / 1.097 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005586/0.8107, allocations: 171 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.8107, allocations: 0 / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006516/0.8114, allocations: 222.3 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.8114, allocations: 6 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.8114, allocations: 0.7812 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.8115, allocations: 1.641 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.8118, allocations: 36.53 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/0.8118, allocations: 5.75 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.812, allocations: 16.8 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.812, allocations: 8.484 kB / 1.098 GB, free: 14.89 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 (13): * Single equations (assignments): 13 * 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.0001488/0.8122, allocations: 136 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.8122, allocations: 18.08 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.015e-05/0.8123, allocations: 25.59 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8123, allocations: 1.094 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.8123, allocations: 1.266 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.8124, allocations: 0.75 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.8128, allocations: 270.9 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.8128, allocations: 0 / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.813, allocations: 37.12 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.8131, allocations: 5 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.8131, allocations: 2.453 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.8131, allocations: 1.672 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.8131, allocations: 1.094 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006865/0.8138, allocations: 327.6 kB / 1.098 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.8139, allocations: 106.4 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.814, allocations: 5.062 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/0.8142, allocations: 13.28 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.8142, allocations: 8.906 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.8143, allocations: 7.719 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001632/0.8144, allocations: 156.5 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8144, allocations: 4 kB / 1.099 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003175/0.8148, allocations: 47.73 kB / 1.099 GB, free: 14.07 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 (13): * Single equations (assignments): 13 * 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.0001745/0.8149, allocations: 105.2 kB / 1.099 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005976/0.8155, allocations: 178.5 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.8156, allocations: 4.75 kB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002803/0.8158, allocations: 95.36 kB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.8163, allocations: 28.91 kB / 1.099 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009411/0.8173, allocations: 439.4 kB / 1.099 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.8176, allocations: 0.7285 MB / 1.1 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.8178, allocations: 49.5 kB / 1.1 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.8179, allocations: 18.66 kB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.8179, allocations: 0 / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.006159/0.8241, allocations: 1.843 MB / 1.102 GB, free: 12.77 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches