Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001209/0.001209, allocations: 106.7 kB / 15.98 MB, free: 6.355 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.00134/0.00134, allocations: 192.6 kB / 16.91 MB, free: 6.188 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.392/1.392, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.67/2.67, allocations: 469.8 MB / 0.7427 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.39 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3231/0.3251, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003469/0.3286, allocations: 1.971 MB / 1.066 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0043/0.3329, allocations: 3.408 MB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.333, allocations: 0 / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.3334, allocations: 47.75 kB / 1.069 GB, free: 9.633 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004729/0.3338, allocations: 119.4 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.843e-05/0.3339, allocations: 31.91 kB / 1.07 GB, free: 9.484 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000232/0.3342, allocations: 171.2 kB / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.3343, allocations: 41.66 kB / 1.07 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.3345, allocations: 83.62 kB / 1.07 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.3346, allocations: 79.69 kB / 1.07 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.84e-05/0.3347, allocations: 15.92 kB / 1.07 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.421e-05/0.3348, allocations: 27.92 kB / 1.07 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.3348, allocations: 35.91 kB / 1.07 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.926e-05/0.3349, allocations: 79.47 kB / 1.07 GB, free: 8.961 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3351, allocations: 119.7 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3352, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3352, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3352, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8419 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.0009688/0.3361, allocations: 0.51 MB / 1.071 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3362, allocations: 8.031 kB / 1.071 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.3363, allocations: 24.66 kB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.3367, allocations: 246.8 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.3367, allocations: 4.375 kB / 1.071 GB, free: 7.973 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.3367, allocations: 4.375 kB / 1.071 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.3371, allocations: 145.7 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3371, allocations: 0 / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.3371, allocations: 3.938 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.509e-05/0.3372, allocations: 15.98 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000459/0.3376, allocations: 139.9 kB / 1.071 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/0.3384, allocations: 452.5 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/0.3389, allocations: 174.3 kB / 1.072 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002653/0.3391, allocations: 116.8 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.3392, allocations: 0 / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.3392, allocations: 34.56 kB / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.3392, allocations: 0 / 1.072 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.0008665/0.3401, allocations: 293.6 kB / 1.072 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.3401, allocations: 55.41 kB / 1.072 GB, free: 6.473 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002262/0.3404, allocations: 209 kB / 1.073 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.3404, allocations: 29.7 kB / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.3405, allocations: 132 kB / 1.073 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.3406, allocations: 39.36 kB / 1.073 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.3406, allocations: 33.7 kB / 1.073 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3408, allocations: 334.8 kB / 1.073 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.341, allocations: 71.94 kB / 1.073 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.3413, allocations: 75.92 kB / 1.073 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004714/0.3418, allocations: 163.4 kB / 1.073 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3418, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005354/0.3423, allocations: 221.4 kB / 1.074 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3423, allocations: 10.19 kB / 1.074 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3423, allocations: 0 / 1.074 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3424, allocations: 0 / 1.074 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3426, allocations: 39.89 kB / 1.074 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3426, allocations: 0 / 1.074 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3428, allocations: 15.89 kB / 1.074 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.3428, allocations: 8 kB / 1.074 GB, free: 5.082 MB / 0.8419 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.0001332/0.343, allocations: 139.9 kB / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.343, allocations: 15.81 kB / 1.074 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.3431, allocations: 29.83 kB / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3431, allocations: 0 / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.3431, allocations: 0 / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.3431, allocations: 3.938 kB / 1.074 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003296/0.3435, allocations: 269.4 kB / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3435, allocations: 0 / 1.074 GB, free: 4.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.3437, allocations: 43.89 kB / 1.074 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3437, allocations: 4 kB / 1.074 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3437, allocations: 0 / 1.074 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3437, allocations: 3.938 kB / 1.074 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3438, allocations: 0 / 1.074 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000601/0.3444, allocations: 325 kB / 1.074 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3445, allocations: 108.8 kB / 1.075 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.3445, allocations: 7.984 kB / 1.075 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.3447, allocations: 15.97 kB / 1.075 GB, free: 4.039 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.3448, allocations: 11.98 kB / 1.075 GB, free: 4.027 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.3448, allocations: 7.938 kB / 1.075 GB, free: 4.02 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001417/0.345, allocations: 156.5 kB / 1.075 GB, free: 3.863 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.345, allocations: 4 kB / 1.075 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002872/0.3453, allocations: 43.88 kB / 1.075 GB, free: 3.816 MB / 0.8419 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.0001714/0.3454, allocations: 103.2 kB / 1.075 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005722/0.346, allocations: 187.8 kB / 1.075 GB, free: 3.523 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.346, allocations: 4 kB / 1.075 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.3463, allocations: 99.86 kB / 1.075 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.3467, allocations: 24.41 kB / 1.075 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009145/0.3476, allocations: 0.4926 MB / 1.076 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003707/0.348, allocations: 0.7236 MB / 1.076 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.33e-05/0.3481, allocations: 27.42 kB / 1.076 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3481, allocations: 0 / 1.076 GB, free: 2.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.4269/0.775, allocations: 2.306 MB / 1.079 GB, free: 22.2 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches