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.001415/0.001415, allocations: 112.6 kB / 16.37 MB, free: 6 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.001366/0.001366, allocations: 196 kB / 17.31 MB, free: 5.613 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.525/2.525, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 60.25 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3575, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003463/0.361, allocations: 1.93 MB / 1.029 GB, free: 156 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004425/0.3654, allocations: 3.455 MB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3656, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002979/0.366, allocations: 55.62 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.3665, allocations: 135.3 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 8.709e-05/0.3666, allocations: 19.97 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.3669, allocations: 183.2 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.367, allocations: 21.69 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3672, allocations: 91.67 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3675, allocations: 83.56 kB / 1.033 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.3675, allocations: 12 kB / 1.033 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.011e-05/0.3676, allocations: 31.91 kB / 1.033 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.3677, allocations: 35.84 kB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.3678, allocations: 75.53 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.368, allocations: 179.2 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3681, allocations: 7.938 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3681, allocations: 0 / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3681, allocations: 0 / 1.033 GB, free: 11.76 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.001088/0.3692, allocations: 0.4957 MB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3692, allocations: 12.03 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.3693, allocations: 24.66 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.3697, allocations: 242.8 kB / 1.034 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.3697, allocations: 4.375 kB / 1.034 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.3697, allocations: 8.359 kB / 1.034 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.3701, allocations: 149.6 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.3701, allocations: 0 / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3701, allocations: 4 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.3702, allocations: 12 kB / 1.034 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004016/0.3706, allocations: 139.9 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.3713, allocations: 456.5 kB / 1.034 GB, free: 10.09 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004032/0.3717, allocations: 170.4 kB / 1.035 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.372, allocations: 100.8 kB / 1.035 GB, free: 9.812 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.372, allocations: 8 kB / 1.035 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.372, allocations: 34.56 kB / 1.035 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.372, allocations: 0 / 1.035 GB, free: 9.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0008019/0.3729, allocations: 293.6 kB / 1.035 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3729, allocations: 55.34 kB / 1.035 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.3731, allocations: 217 kB / 1.035 GB, free: 9.184 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.3731, allocations: 29.7 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.603e-05/0.3732, allocations: 120.1 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3733, allocations: 43.36 kB / 1.035 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.3733, allocations: 29.7 kB / 1.035 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3735, allocations: 338.8 kB / 1.036 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3737, allocations: 75.92 kB / 1.036 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.3739, allocations: 75.81 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004194/0.3744, allocations: 164.7 kB / 1.036 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3744, allocations: 0 / 1.036 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004833/0.3749, allocations: 213.4 kB / 1.036 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3749, allocations: 11.94 kB / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3749, allocations: 0 / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3749, allocations: 0 / 1.036 GB, free: 8.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.3752, allocations: 31.97 kB / 1.036 GB, free: 8.043 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.3752, allocations: 4 kB / 1.036 GB, free: 8.039 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3754, allocations: 19.89 kB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3754, allocations: 3.984 kB / 1.036 GB, free: 8.016 MB / 0.8106 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.0001256/0.3755, allocations: 137.7 kB / 1.036 GB, free: 7.871 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.3756, allocations: 15.81 kB / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.3756, allocations: 33.77 kB / 1.036 GB, free: 7.828 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.3756, allocations: 3.984 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3757, allocations: 4 kB / 1.037 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3757, allocations: 3.938 kB / 1.037 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.376, allocations: 273.3 kB / 1.037 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.376, allocations: 4 kB / 1.037 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.3762, allocations: 31.97 kB / 1.037 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3762, allocations: 4 kB / 1.037 GB, free: 7.461 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3762, allocations: 4 kB / 1.037 GB, free: 7.457 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3762, allocations: 3.984 kB / 1.037 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3762, allocations: 4 kB / 1.037 GB, free: 7.449 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005675/0.3768, allocations: 315.2 kB / 1.037 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.3771, allocations: 112.8 kB / 1.037 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.3772, allocations: 3.938 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.3774, allocations: 15.98 kB / 1.037 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.3774, allocations: 7.984 kB / 1.037 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.3774, allocations: 4 kB / 1.037 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001634/0.3776, allocations: 160.5 kB / 1.037 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3776, allocations: 0 / 1.037 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002737/0.3779, allocations: 51.88 kB / 1.037 GB, free: 6.758 MB / 0.8106 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.0001615/0.3781, allocations: 99.25 kB / 1.038 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000501/0.3786, allocations: 177.8 kB / 1.038 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3786, allocations: 0 / 1.038 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.3788, allocations: 99.92 kB / 1.038 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004604/0.3793, allocations: 29.48 kB / 1.038 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.3801, allocations: 422.6 kB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3804, allocations: 0.7275 MB / 1.039 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001537/0.3806, allocations: 48.59 kB / 1.039 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.3806, allocations: 19.42 kB / 1.039 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3806, allocations: 0 / 1.039 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of Templates: time 0.00491/0.3856, allocations: 1.83 MB / 1.041 GB, free: 3.285 MB / 0.8106 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 -s cvode -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