Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008479/0.008479, allocations: 102.7 kB / 15.73 MB, free: 5.992 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.00172/0.00172, allocations: 191.3 kB / 16.67 MB, free: 5.91 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.725/2.725, allocations: 469.8 MB / 0.7425 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8848/0.886, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003298/0.8893, allocations: 1.912 MB / 1.222 GB, free: 172 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004029/0.8934, allocations: 3.451 MB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.8935, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.8938, allocations: 56.59 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000484/0.8942, allocations: 134.8 kB / 1.226 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 7.215e-05/0.8943, allocations: 23.97 kB / 1.226 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002355/0.8946, allocations: 175.2 kB / 1.226 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.8947, allocations: 17.69 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.8949, allocations: 83.69 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.895, allocations: 83.5 kB / 1.226 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.895, allocations: 8 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.8951, allocations: 31.98 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.549e-05/0.8952, allocations: 35.83 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.262e-05/0.8953, allocations: 83.47 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.8955, allocations: 163.2 kB / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.8955, allocations: 0 / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8955, allocations: 0 / 1.227 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.8955, allocations: 0 / 1.227 GB, free: 11.82 MB / 0.9512 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.0008486/0.8964, allocations: 0.5061 MB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.8964, allocations: 8.031 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.465e-05/0.8965, allocations: 20.84 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.8968, allocations: 243 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.8968, allocations: 4.375 kB / 1.227 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.8969, allocations: 4.375 kB / 1.227 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.8972, allocations: 153.5 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.8972, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.8972, allocations: 4 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.8973, allocations: 11.97 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004163/0.8977, allocations: 139.8 kB / 1.228 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.8984, allocations: 444.5 kB / 1.228 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003805/0.8987, allocations: 150.5 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002521/0.899, allocations: 96.78 kB / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.899, allocations: 0 / 1.228 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.899, allocations: 38.5 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.899, allocations: 0 / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0007778/0.8998, allocations: 283.3 kB / 1.229 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.8999, allocations: 51.41 kB / 1.229 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.9, allocations: 209 kB / 1.229 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.9001, allocations: 25.7 kB / 1.229 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.9001, allocations: 124.1 kB / 1.229 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.9002, allocations: 47.64 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.9003, allocations: 29.7 kB / 1.229 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9004, allocations: 334.8 kB / 1.23 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.9006, allocations: 67.94 kB / 1.23 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.9008, allocations: 67.94 kB / 1.23 GB, free: 8.598 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.9012, allocations: 165.8 kB / 1.23 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.9012, allocations: 0 / 1.23 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004868/0.9017, allocations: 210.1 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.9017, allocations: 8 kB / 1.23 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.9017, allocations: 0 / 1.23 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.9017, allocations: 3.938 kB / 1.23 GB, free: 8.211 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.902, allocations: 35.95 kB / 1.23 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.902, allocations: 3.938 kB / 1.23 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.9021, allocations: 19.92 kB / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.9021, allocations: 8 kB / 1.23 GB, free: 8.145 MB / 0.9512 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.0001127/0.9023, allocations: 130.3 kB / 1.23 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.256e-05/0.9023, allocations: 19.86 kB / 1.23 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.9024, allocations: 25.83 kB / 1.23 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.9024, allocations: 4 kB / 1.23 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.9024, allocations: 0 / 1.23 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.9024, allocations: 3.938 kB / 1.23 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.9027, allocations: 257.5 kB / 1.23 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9027, allocations: 12 kB / 1.23 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.9029, allocations: 35.97 kB / 1.231 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9029, allocations: 0 / 1.231 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.9029, allocations: 3.938 kB / 1.231 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.9029, allocations: 3.984 kB / 1.231 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.9029, allocations: 0 / 1.231 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.9035, allocations: 316.3 kB / 1.231 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.981e-05/0.9036, allocations: 112.9 kB / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.9036, allocations: 0 / 1.231 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001802/0.9038, allocations: 19.97 kB / 1.231 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.964e-05/0.9038, allocations: 7.984 kB / 1.231 GB, free: 7.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/0.9038, allocations: 4 kB / 1.231 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001281/0.904, allocations: 160.5 kB / 1.231 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.904, allocations: 0 / 1.231 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002893/0.9043, allocations: 35.92 kB / 1.231 GB, free: 6.922 MB / 0.9512 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.0001703/0.9044, allocations: 119.1 kB / 1.231 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005052/0.9049, allocations: 165.4 kB / 1.231 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9049, allocations: 0 / 1.231 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.9052, allocations: 83.88 kB / 1.232 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.9055, allocations: 22.53 kB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.9063, allocations: 421.5 kB / 1.232 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.9066, allocations: 0.7197 MB / 1.233 GB, free: 5.352 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.9068, allocations: 60.56 kB / 1.233 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.559e-05/0.9068, allocations: 19.44 kB / 1.233 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.9069, allocations: 3.938 kB / 1.233 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of Templates: time 0.004577/0.9114, allocations: 1.732 MB / 1.234 GB, free: 3.555 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches