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.005254/0.005254, allocations: 99.5 kB / 15.73 MB, free: 5.996 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.001158/0.001158, allocations: 199.5 kB / 16.68 MB, free: 5.918 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.212/2.212, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.9508 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7828, allocations: 140.4 MB / 1.088 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003014/0.7858, allocations: 1.918 MB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003635/0.7895, allocations: 3.446 MB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.7896, allocations: 1.25 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.79, allocations: 55.06 kB / 1.093 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004823/0.7905, allocations: 133.1 kB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.338e-05/0.7906, allocations: 23.78 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.7908, allocations: 178.4 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.7909, allocations: 30.98 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.7911, allocations: 88.11 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.7913, allocations: 84.69 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.7913, allocations: 9 kB / 1.094 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.399e-05/0.7914, allocations: 29.89 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.315e-05/0.7915, allocations: 38.88 kB / 1.094 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.601e-05/0.7916, allocations: 77.3 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002385/0.7919, allocations: 167.8 kB / 1.094 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7919, allocations: 4.781 kB / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7919, allocations: 0 / 1.094 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.7919, allocations: 0 / 1.094 GB, free: 1.469 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.000852/0.7927, allocations: 0.5078 MB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.7928, allocations: 9.688 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.7929, allocations: 21.34 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003034/0.7932, allocations: 244.4 kB / 1.095 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.7932, allocations: 6.656 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.7932, allocations: 4.688 kB / 1.095 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.7936, allocations: 139.6 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.7936, allocations: 7.922 kB / 1.095 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.7936, allocations: 4.688 kB / 1.095 GB, free: 0.6914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.7936, allocations: 27.2 kB / 1.095 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004337/0.7941, allocations: 137.1 kB / 1.095 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.7948, allocations: 453.5 kB / 1.096 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004124/0.7952, allocations: 176.4 kB / 1.096 GB, free: 240 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.7955, allocations: 101.3 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.7955, allocations: 1.938 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.7955, allocations: 40.06 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.7955, allocations: 1 kB / 1.096 GB, free: 160 kB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0008626/0.7964, allocations: 292.1 kB / 1.096 GB, free: 56 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.7965, allocations: 53.78 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.7967, allocations: 212.6 kB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.7968, allocations: 34.73 kB / 1.096 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.7968, allocations: 117.9 kB / 1.097 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.7969, allocations: 51.62 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.797, allocations: 27.55 kB / 1.097 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7971, allocations: 333.7 kB / 1.097 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/0.7973, allocations: 76.97 kB / 1.097 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.7976, allocations: 79.02 kB / 1.097 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000457/0.7981, allocations: 163.3 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7981, allocations: 1.125 kB / 1.097 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005515/0.7986, allocations: 213.8 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.7987, allocations: 8.156 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.7987, allocations: 5 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7987, allocations: 1.125 kB / 1.097 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002727/0.799, allocations: 37.66 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.799, allocations: 0.7031 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.7992, allocations: 21.03 kB / 1.097 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.7992, allocations: 4.312 kB / 1.098 GB, free: 15.14 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.0001336/0.7993, allocations: 129.5 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.7994, allocations: 20.12 kB / 1.098 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.686e-05/0.7995, allocations: 29.42 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7995, allocations: 1.969 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.7995, allocations: 0.75 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.7995, allocations: 0.7969 kB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.7999, allocations: 266.9 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7999, allocations: 0.7969 kB / 1.098 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.8001, allocations: 41.02 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.8001, allocations: 0.9375 kB / 1.098 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.8001, allocations: 10.41 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.8002, allocations: 1.062 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8002, allocations: 0.7969 kB / 1.098 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005698/0.8007, allocations: 312.7 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.8008, allocations: 117.7 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.8009, allocations: 6.5 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.8011, allocations: 11.5 kB / 1.098 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.8012, allocations: 17.94 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.8012, allocations: 4.25 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001452/0.8013, allocations: 158.3 kB / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8013, allocations: 0 / 1.099 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002975/0.8016, allocations: 41.39 kB / 1.099 GB, free: 14.32 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.0001584/0.8018, allocations: 113.2 kB / 1.099 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005548/0.8024, allocations: 173.5 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8024, allocations: 0 / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.8027, allocations: 99.89 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.8031, allocations: 27.88 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.8041, allocations: 429.8 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.8044, allocations: 0.7251 MB / 1.1 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001808/0.8046, allocations: 49.78 kB / 1.1 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.8047, allocations: 21.59 kB / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.8047, allocations: 0 / 1.1 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.005815/0.8105, allocations: 1.879 MB / 1.102 GB, free: 13.01 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