Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001267/0.001267, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01031/0.01031, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 437.8 MB / 0.7121 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005625/0.0005621, allocations: 12.28 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7194/0.72, allocations: 153.8 MB / 1.023 GB, free: 120 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002242/0.7223, allocations: 1.624 MB / 1.025 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003579/0.7259, allocations: 3.368 MB / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.486e-05/0.7259, allocations: 0 / 1.028 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.7262, allocations: 47.8 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.7265, allocations: 123.3 kB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.302e-05/0.7266, allocations: 31.91 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.7268, allocations: 187.1 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.247e-05/0.7269, allocations: 25.69 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.7271, allocations: 75.69 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.7273, allocations: 79.56 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.7273, allocations: 4 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.435e-05/0.7274, allocations: 23.97 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.004e-05/0.7274, allocations: 39.78 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.704e-05/0.7275, allocations: 101.2 kB / 1.029 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.7277, allocations: 151.3 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7277, allocations: 4 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7277, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7277, allocations: 0 / 1.029 GB, free: 10.21 MB / 0.7794 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.0008777/0.7286, allocations: 0.4908 MB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.7287, allocations: 12.03 kB / 1.029 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.7287, allocations: 24.64 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.729, allocations: 246.8 kB / 1.03 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.7291, allocations: 4.375 kB / 1.03 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.7291, allocations: 8.375 kB / 1.03 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003842/0.7295, allocations: 157.6 kB / 1.03 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.7295, allocations: 0 / 1.03 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.7295, allocations: 4 kB / 1.03 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.7296, allocations: 11.98 kB / 1.03 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.73, allocations: 155.9 kB / 1.03 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.7307, allocations: 468.4 kB / 1.03 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.7311, allocations: 182.5 kB / 1.03 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/0.7314, allocations: 112.8 kB / 1.031 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.7315, allocations: 7.984 kB / 1.031 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.7315, allocations: 30.56 kB / 1.031 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.7315, allocations: 3.938 kB / 1.031 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0008649/0.7324, allocations: 329.5 kB / 1.031 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.7324, allocations: 51.41 kB / 1.031 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.7326, allocations: 213 kB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.7327, allocations: 25.7 kB / 1.031 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.7328, allocations: 124.1 kB / 1.031 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.7329, allocations: 39.31 kB / 1.031 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.7329, allocations: 21.7 kB / 1.031 GB, free: 7.328 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.733, allocations: 334.8 kB / 1.032 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.7333, allocations: 83.92 kB / 1.032 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.7335, allocations: 83.94 kB / 1.032 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004838/0.734, allocations: 184.7 kB / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.734, allocations: 0 / 1.032 GB, free: 6.645 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006154/0.7347, allocations: 233.3 kB / 1.032 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.7347, allocations: 8 kB / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7347, allocations: 3.984 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.7347, allocations: 0 / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.735, allocations: 35.97 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.735, allocations: 4 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.7352, allocations: 23.83 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.7352, allocations: 7.984 kB / 1.032 GB, free: 6.328 MB / 0.7794 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.0001289/0.7353, allocations: 130.3 kB / 1.032 GB, free: 6.191 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.088e-05/0.7354, allocations: 15.81 kB / 1.032 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.994e-05/0.7354, allocations: 29.83 kB / 1.032 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.7354, allocations: 4 kB / 1.032 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7355, allocations: 3.938 kB / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.7355, allocations: 0 / 1.032 GB, free: 6.145 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003193/0.7358, allocations: 273.3 kB / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.7358, allocations: 0 / 1.033 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.736, allocations: 43.97 kB / 1.033 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.736, allocations: 0 / 1.033 GB, free: 5.785 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.7361, allocations: 4 kB / 1.033 GB, free: 5.781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.1e-05/0.7361, allocations: 7.938 kB / 1.033 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7361, allocations: 0 / 1.033 GB, free: 5.773 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006052/0.7367, allocations: 339.2 kB / 1.033 GB, free: 5.426 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.7368, allocations: 104.8 kB / 1.033 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.204e-05/0.7368, allocations: 7.984 kB / 1.033 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.737, allocations: 15.98 kB / 1.033 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.806e-05/0.7371, allocations: 19.97 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.7371, allocations: 0 / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001314/0.7373, allocations: 160.5 kB / 1.033 GB, free: 5.105 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7373, allocations: 4 kB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003029/0.7376, allocations: 35.94 kB / 1.033 GB, free: 5.066 MB / 0.7794 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.0001692/0.7377, allocations: 107.2 kB / 1.034 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005349/0.7383, allocations: 193.1 kB / 1.034 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7383, allocations: 0 / 1.034 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.7386, allocations: 107.9 kB / 1.034 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00039/0.739, allocations: 26.89 kB / 1.034 GB, free: 4.629 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/0.7398, allocations: 0.5102 MB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.7401, allocations: 0.7277 MB / 1.035 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.7403, allocations: 52.59 kB / 1.035 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.729e-05/0.7403, allocations: 11.44 kB / 1.035 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.7403, allocations: 0 / 1.035 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of Templates: time 0.004354/0.7447, allocations: 1.648 MB / 1.037 GB, free: 1.656 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches