Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001098/0.001098, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.493/1.493, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.665/2.665, allocations: 443.2 MB / 0.7181 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 7.75 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2949, allocations: 155.1 MB / 1.032 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002388/0.2973, allocations: 1.624 MB / 1.033 GB, free: 3.172 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004566/0.3019, allocations: 3.374 MB / 1.037 GB, free: 15.78 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3021, allocations: 4 kB / 1.037 GB, free: 15.77 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3024, allocations: 43.75 kB / 1.037 GB, free: 15.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005082/0.3029, allocations: 115.4 kB / 1.037 GB, free: 15.62 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 9.414e-05/0.303, allocations: 23.91 kB / 1.037 GB, free: 15.59 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.3033, allocations: 183.2 kB / 1.037 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3034, allocations: 21.69 kB / 1.037 GB, free: 15.39 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.3037, allocations: 75.69 kB / 1.037 GB, free: 15.32 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.3039, allocations: 79.58 kB / 1.037 GB, free: 15.24 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.3039, allocations: 4 kB / 1.037 GB, free: 15.23 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.304, allocations: 31.95 kB / 1.037 GB, free: 15.2 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.3041, allocations: 31.84 kB / 1.037 GB, free: 15.17 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3042, allocations: 97.19 kB / 1.037 GB, free: 15.07 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.3044, allocations: 107.7 kB / 1.037 GB, free: 14.96 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3044, allocations: 0 / 1.037 GB, free: 14.96 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3044, allocations: 0 / 1.037 GB, free: 14.96 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3044, allocations: 0 / 1.037 GB, free: 14.96 MB / 0.795 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.0009284/0.3054, allocations: 498.6 kB / 1.038 GB, free: 14.43 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3054, allocations: 8.031 kB / 1.038 GB, free: 14.42 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.3055, allocations: 20.66 kB / 1.038 GB, free: 14.4 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.3059, allocations: 250.8 kB / 1.038 GB, free: 14.12 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3059, allocations: 8.375 kB / 1.038 GB, free: 14.11 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.306, allocations: 8.312 kB / 1.038 GB, free: 14.1 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003915/0.3064, allocations: 149.6 kB / 1.038 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3064, allocations: 0 / 1.038 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3064, allocations: 0 / 1.038 GB, free: 13.95 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.3064, allocations: 12 kB / 1.038 GB, free: 13.94 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004654/0.3069, allocations: 151.9 kB / 1.038 GB, free: 13.79 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007722/0.3077, allocations: 452.5 kB / 1.039 GB, free: 13.3 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004127/0.3081, allocations: 169.6 kB / 1.039 GB, free: 13.12 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.3084, allocations: 112.8 kB / 1.039 GB, free: 13.01 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.3084, allocations: 7.969 kB / 1.039 GB, free: 13 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.3085, allocations: 34.56 kB / 1.039 GB, free: 12.96 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.3085, allocations: 0 / 1.039 GB, free: 12.96 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.00089/0.3094, allocations: 305.4 kB / 1.039 GB, free: 12.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.3094, allocations: 55.66 kB / 1.039 GB, free: 12.59 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.3097, allocations: 205 kB / 1.04 GB, free: 12.38 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.3097, allocations: 29.7 kB / 1.04 GB, free: 12.35 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.3098, allocations: 128 kB / 1.04 GB, free: 12.22 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.048e-05/0.3098, allocations: 39.36 kB / 1.04 GB, free: 12.18 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3099, allocations: 17.72 kB / 1.04 GB, free: 12.16 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.31, allocations: 334.8 kB / 1.04 GB, free: 11.82 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.3103, allocations: 87.92 kB / 1.04 GB, free: 11.73 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3105, allocations: 79.94 kB / 1.04 GB, free: 11.66 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.311, allocations: 176.2 kB / 1.04 GB, free: 11.48 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.311, allocations: 0 / 1.04 GB, free: 11.48 MB / 0.795 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005735/0.3116, allocations: 225.3 kB / 1.041 GB, free: 11.26 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3116, allocations: 4 kB / 1.041 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3116, allocations: 0 / 1.041 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3116, allocations: 0 / 1.041 GB, free: 11.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.3119, allocations: 43.97 kB / 1.041 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.3119, allocations: 0 / 1.041 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.3121, allocations: 19.97 kB / 1.041 GB, free: 11.19 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3121, allocations: 4 kB / 1.041 GB, free: 11.19 MB / 0.795 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.0001268/0.3122, allocations: 143.2 kB / 1.041 GB, free: 11.04 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.3123, allocations: 23.72 kB / 1.041 GB, free: 11.02 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.3124, allocations: 25.84 kB / 1.041 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3124, allocations: 0 / 1.041 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3124, allocations: 0 / 1.041 GB, free: 11 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.3124, allocations: 3.984 kB / 1.041 GB, free: 10.99 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.3127, allocations: 265.4 kB / 1.041 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3127, allocations: 0 / 1.041 GB, free: 10.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.3129, allocations: 43.89 kB / 1.041 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3129, allocations: 0 / 1.041 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3129, allocations: 4 kB / 1.041 GB, free: 10.64 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.313, allocations: 4 kB / 1.041 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.313, allocations: 0 / 1.041 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.3136, allocations: 327 kB / 1.042 GB, free: 10.3 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.3137, allocations: 108.9 kB / 1.042 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.3138, allocations: 4 kB / 1.042 GB, free: 10.17 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.314, allocations: 19.98 kB / 1.042 GB, free: 10.15 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.314, allocations: 11.98 kB / 1.042 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.314, allocations: 7.984 kB / 1.042 GB, free: 10.13 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001459/0.3142, allocations: 152.5 kB / 1.042 GB, free: 9.98 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3142, allocations: 0 / 1.042 GB, free: 9.98 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002857/0.3145, allocations: 39.88 kB / 1.042 GB, free: 9.941 MB / 0.795 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.0001863/0.3147, allocations: 107.2 kB / 1.042 GB, free: 9.824 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005613/0.3152, allocations: 183.8 kB / 1.042 GB, free: 9.645 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.3153, allocations: 4 kB / 1.042 GB, free: 9.641 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002707/0.3155, allocations: 99.86 kB / 1.042 GB, free: 9.543 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.316, allocations: 24.66 kB / 1.042 GB, free: 9.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.3168, allocations: 0.5175 MB / 1.043 GB, free: 8.973 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.3172, allocations: 0.7355 MB / 1.044 GB, free: 8.211 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.887e-05/0.3173, allocations: 19.42 kB / 1.044 GB, free: 8.191 MB / 0.795 GB Notification: Performance of SimCode: time 7.72e-07/0.3173, allocations: 0 / 1.044 GB, free: 8.191 MB / 0.795 GB Notification: Performance of Templates: time 0.004739/0.3221, allocations: 2.215 MB / 1.046 GB, free: 5.992 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches