Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ASHRAEHeatLoss,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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007801/0.007801, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.00226/0.00226, allocations: 194.6 kB / 16.68 MB, free: 5.973 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.419/2.419, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.56 kB / 0.9508 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2847, allocations: 140.4 MB / 1.088 GB, free: 1.484 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002996/0.2878, allocations: 1.9 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.2917, allocations: 3.451 MB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.043e-05/0.2918, allocations: 0 / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.2921, allocations: 51.62 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.2926, allocations: 135.3 kB / 1.093 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.587e-05/0.2926, allocations: 19.97 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002371/0.2929, allocations: 175.2 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.293, allocations: 29.67 kB / 1.094 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.2932, allocations: 83.69 kB / 1.094 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.2934, allocations: 75.64 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.2934, allocations: 8 kB / 1.094 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.823e-05/0.2935, allocations: 35.89 kB / 1.094 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.025e-05/0.2936, allocations: 35.84 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.382e-05/0.2937, allocations: 79.48 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.2939, allocations: 163.3 kB / 1.094 GB, free: 11.22 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.2939, allocations: 3.984 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2939, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.2939, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 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.0008371/0.2948, allocations: 0.4906 MB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.2948, allocations: 12.03 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.217e-05/0.2949, allocations: 24.66 kB / 1.095 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.2952, allocations: 250.8 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.2953, allocations: 4.375 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2953, allocations: 384 / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003221/0.2956, allocations: 149.6 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2956, allocations: 0 / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.2956, allocations: 8 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.2957, allocations: 8 kB / 1.095 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004193/0.2961, allocations: 131.9 kB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006734/0.2968, allocations: 448.5 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.2972, allocations: 154.5 kB / 1.096 GB, free: 9.41 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.2974, allocations: 100.8 kB / 1.096 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.2975, allocations: 4 kB / 1.096 GB, free: 9.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2975, allocations: 34.56 kB / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.152e-06/0.2975, allocations: 0 / 1.096 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0007965/0.2983, allocations: 287.5 kB / 1.096 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2983, allocations: 51.66 kB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.2985, allocations: 209 kB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.2986, allocations: 29.7 kB / 1.096 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.2986, allocations: 124 kB / 1.096 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.2987, allocations: 47.36 kB / 1.096 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.2988, allocations: 25.7 kB / 1.096 GB, free: 8.461 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2989, allocations: 334.8 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2991, allocations: 75.94 kB / 1.097 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001942/0.2993, allocations: 71.94 kB / 1.097 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.2997, allocations: 163.8 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2997, allocations: 0 / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004902/0.3002, allocations: 205.4 kB / 1.097 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3003, allocations: 12 kB / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3003, allocations: 0 / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.3003, allocations: 0 / 1.097 GB, free: 7.602 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.3005, allocations: 31.97 kB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.3006, allocations: 0 / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3007, allocations: 15.89 kB / 1.097 GB, free: 7.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3007, allocations: 7.984 kB / 1.097 GB, free: 7.547 MB / 0.8575 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.0001119/0.3008, allocations: 137.7 kB / 1.098 GB, free: 7.402 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.304e-05/0.3009, allocations: 15.81 kB / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.937e-05/0.301, allocations: 33.77 kB / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.301, allocations: 0 / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.301, allocations: 0 / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.301, allocations: 0 / 1.098 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.3013, allocations: 265.4 kB / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3013, allocations: 0 / 1.098 GB, free: 7.047 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.3015, allocations: 35.97 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3015, allocations: 4 kB / 1.098 GB, free: 7.008 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.3015, allocations: 3.984 kB / 1.098 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3015, allocations: 7.938 kB / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3015, allocations: 0 / 1.098 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005301/0.3021, allocations: 315 kB / 1.098 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.42e-05/0.3022, allocations: 104.9 kB / 1.098 GB, free: 6.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3022, allocations: 4 kB / 1.098 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.3024, allocations: 11.98 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.3024, allocations: 11.98 kB / 1.098 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.3024, allocations: 4 kB / 1.098 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3026, allocations: 156.5 kB / 1.098 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3026, allocations: 0 / 1.098 GB, free: 6.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002674/0.3029, allocations: 47.88 kB / 1.098 GB, free: 6.316 MB / 0.8575 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.0001636/0.303, allocations: 109.9 kB / 1.099 GB, free: 6.203 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004823/0.3035, allocations: 163.9 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3035, allocations: 0 / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.3038, allocations: 95.86 kB / 1.099 GB, free: 5.949 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3041, allocations: 33.78 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007233/0.3049, allocations: 410 kB / 1.099 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.3051, allocations: 0.7314 MB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001399/0.3053, allocations: 44.59 kB / 1.1 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.382e-05/0.3054, allocations: 19.42 kB / 1.1 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of SimCode: time 4.7e-07/0.3054, allocations: 4 kB / 1.1 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of Templates: time 0.004568/0.3099, allocations: 1.715 MB / 1.102 GB, free: 2.969 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches