Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.007879/0.007879, allocations: 100.4 kB / 15.87 MB, free: 5.863 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.001725/0.001724, allocations: 191 kB / 16.79 MB, free: 5.805 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.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 67.38 kB / 0.899 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3134, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003979/0.3175, allocations: 1.977 MB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004998/0.3225, allocations: 3.431 MB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.3227, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.3231, allocations: 39.8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005225/0.3236, allocations: 119.4 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000105/0.3237, allocations: 31.91 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002245/0.324, allocations: 179.3 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3241, allocations: 21.69 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.3243, allocations: 87.56 kB / 1.058 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.3245, allocations: 83.62 kB / 1.059 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.3245, allocations: 7.984 kB / 1.059 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.966e-05/0.3246, allocations: 31.91 kB / 1.059 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.865e-05/0.3247, allocations: 31.84 kB / 1.059 GB, free: 2.219 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.3248, allocations: 71.55 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.325, allocations: 115.7 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.325, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.893e-06/0.325, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.325, allocations: 0 / 1.059 GB, free: 2.035 MB / 0.8106 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.0009261/0.3259, allocations: 0.5102 MB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.326, allocations: 11.97 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.3261, allocations: 20.66 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3264, allocations: 250.8 kB / 1.06 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.3264, allocations: 4.375 kB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.3265, allocations: 4.375 kB / 1.06 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.3269, allocations: 149.7 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3269, allocations: 7.875 kB / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3269, allocations: 0 / 1.06 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.3269, allocations: 8 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.3274, allocations: 143.9 kB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.3282, allocations: 456.5 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.3287, allocations: 170.5 kB / 1.06 GB, free: 176 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.3289, allocations: 104.8 kB / 1.061 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.329, allocations: 0 / 1.061 GB, free: 68 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.329, allocations: 42.5 kB / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 9.72e-07/0.329, allocations: 0 / 1.061 GB, free: 16 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0008456/0.3298, allocations: 289.6 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3299, allocations: 55.41 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.3301, allocations: 221 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.3302, allocations: 29.7 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.3302, allocations: 120.1 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.794e-05/0.3303, allocations: 39.36 kB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/0.3304, allocations: 33.7 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3305, allocations: 334.8 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.3307, allocations: 75.94 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.331, allocations: 75.94 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004187/0.3314, allocations: 167.4 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3314, allocations: 4 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005063/0.3319, allocations: 217.4 kB / 1.062 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3319, allocations: 4 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3319, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.332, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.3322, allocations: 35.97 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.3323, allocations: 3.938 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3324, allocations: 19.89 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.3325, allocations: 7.984 kB / 1.062 GB, free: 14.26 MB / 0.8262 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.0001117/0.3326, allocations: 129.7 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.3326, allocations: 19.81 kB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.644e-05/0.3327, allocations: 25.83 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3327, allocations: 4 kB / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3327, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3327, allocations: 0 / 1.062 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.333, allocations: 277.3 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.333, allocations: 0 / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.3332, allocations: 31.97 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3333, allocations: 7.984 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3333, allocations: 3.984 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3333, allocations: 3.938 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3333, allocations: 7.938 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005539/0.3339, allocations: 318.5 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.334, allocations: 112.8 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.387e-05/0.334, allocations: 4 kB / 1.063 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3342, allocations: 15.98 kB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.3343, allocations: 11.98 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.3343, allocations: 7.984 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001367/0.3344, allocations: 152.5 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3344, allocations: 0 / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000285/0.3347, allocations: 43.88 kB / 1.063 GB, free: 13.01 MB / 0.8262 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.0001749/0.3349, allocations: 111.2 kB / 1.064 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.3354, allocations: 175.9 kB / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.3355, allocations: 0 / 1.064 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.3357, allocations: 91.88 kB / 1.064 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.3362, allocations: 33.34 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008679/0.3371, allocations: 0.4903 MB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3374, allocations: 0.7317 MB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.3375, allocations: 19.42 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of SimCode: time 6.41e-07/0.3375, allocations: 4 kB / 1.065 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of Templates: time 0.004247/0.3417, allocations: 2.309 MB / 1.067 GB, free: 9 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches