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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001517/0.001517, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001766/0.001766, allocations: 195.1 kB / 16.14 MB, free: 6.695 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 65.64 kB / 0.8984 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3079, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003469/0.3114, allocations: 1.985 MB / 1.054 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.3155, allocations: 3.42 MB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.914e-05/0.3156, allocations: 4 kB / 1.057 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002655/0.3159, allocations: 51.73 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.3164, allocations: 107.4 kB / 1.058 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.068e-05/0.3165, allocations: 31.95 kB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002386/0.3167, allocations: 179.2 kB / 1.058 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.3168, allocations: 37.66 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.317, allocations: 75.64 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3172, allocations: 75.67 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.3172, allocations: 12 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.3173, allocations: 23.92 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.3174, allocations: 35.84 kB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.208e-05/0.3175, allocations: 83.45 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.3177, allocations: 155.4 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3177, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3177, allocations: 0 / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.3177, allocations: 3.938 kB / 1.058 GB, free: 2.527 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.0009285/0.3187, allocations: 0.5023 MB / 1.059 GB, free: 1.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3187, allocations: 12.03 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.3188, allocations: 20.66 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.3191, allocations: 250.8 kB / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.3192, allocations: 384 / 1.059 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3192, allocations: 4.375 kB / 1.059 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.3195, allocations: 151 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3196, allocations: 3.938 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.3196, allocations: 4 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.209e-05/0.3196, allocations: 8 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004594/0.3201, allocations: 147.9 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006983/0.3208, allocations: 444.5 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.3213, allocations: 174.4 kB / 1.06 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.3215, allocations: 108.8 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.3216, allocations: 7.984 kB / 1.06 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/0.3216, allocations: 30.56 kB / 1.06 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.3216, allocations: 4 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0008292/0.3224, allocations: 299.3 kB / 1.06 GB, free: 232 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3225, allocations: 51.41 kB / 1.06 GB, free: 168 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.3227, allocations: 225 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.3228, allocations: 25.7 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.687e-05/0.3228, allocations: 124.1 kB / 1.061 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.3229, allocations: 39.36 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/0.323, allocations: 33.7 kB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3231, allocations: 334.8 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.3233, allocations: 79.94 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3236, allocations: 71.94 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.324, allocations: 167.7 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.324, allocations: 4 kB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005471/0.3246, allocations: 213.4 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.3246, allocations: 4 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.3246, allocations: 4 kB / 1.062 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3246, allocations: 4 kB / 1.062 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.3249, allocations: 39.91 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3249, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.3251, allocations: 19.88 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.3251, allocations: 4 kB / 1.062 GB, free: 14.75 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.0001164/0.3253, allocations: 143.2 kB / 1.062 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.3253, allocations: 15.81 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.3254, allocations: 21.84 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3254, allocations: 8 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3254, allocations: 0 / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3254, allocations: 3.984 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002849/0.3257, allocations: 273.3 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.3257, allocations: 0 / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.326, allocations: 35.91 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.326, allocations: 0 / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.326, allocations: 3.984 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.326, allocations: 4 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.326, allocations: 0 / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.3266, allocations: 319.2 kB / 1.062 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.3267, allocations: 108.8 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.336e-05/0.3268, allocations: 4 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.327, allocations: 19.98 kB / 1.063 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.3271, allocations: 11.92 kB / 1.063 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.3271, allocations: 7.984 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000127/0.3272, allocations: 156.5 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3272, allocations: 0 / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002882/0.3275, allocations: 43.88 kB / 1.063 GB, free: 13.5 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.0001426/0.3277, allocations: 107.2 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005256/0.3282, allocations: 183.5 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3282, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002489/0.3285, allocations: 91.92 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3289, allocations: 34.47 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000805/0.3297, allocations: 476.3 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.33, allocations: 0.7278 MB / 1.064 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001795/0.3302, allocations: 48.59 kB / 1.064 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.526e-05/0.3303, allocations: 19.44 kB / 1.064 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3303, allocations: 0 / 1.064 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of Templates: time 0.004433/0.3347, allocations: 1.675 MB / 1.066 GB, free: 10.12 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/jenkins/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