Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006746/0.006746, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001134/0.001134, allocations: 197 kB / 16.67 MB, free: 5.969 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8864/0.8876, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003034/0.8907, allocations: 1.916 MB / 1.168 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.8947, allocations: 3.444 MB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.8948, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.8951, allocations: 59.14 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004882/0.8956, allocations: 131.3 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 8.168e-05/0.8957, allocations: 19.97 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.8959, allocations: 175.2 kB / 1.172 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.8961, allocations: 25.69 kB / 1.172 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.8963, allocations: 83.62 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.8964, allocations: 83.61 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.8965, allocations: 8 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.495e-05/0.8966, allocations: 27.92 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.274e-05/0.8967, allocations: 43.84 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 8.69e-05/0.8968, allocations: 71.53 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.8971, allocations: 172.1 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.8971, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/0.8971, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.8971, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 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.0009147/0.898, allocations: 0.5022 MB / 1.173 GB, free: 13 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.8981, allocations: 16.92 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.8981, allocations: 24.8 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.8985, allocations: 243 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.8985, allocations: 8.359 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.8985, allocations: 384 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.8989, allocations: 133.7 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.8989, allocations: 4 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.8989, allocations: 4 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.899, allocations: 15.92 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004265/0.8994, allocations: 131.9 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007168/0.9001, allocations: 452.4 kB / 1.174 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.9005, allocations: 158.5 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.9008, allocations: 104.8 kB / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.9009, allocations: 0 / 1.174 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.9009, allocations: 38.56 kB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.9009, allocations: 0 / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0008183/0.9017, allocations: 283 kB / 1.175 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.9018, allocations: 51.41 kB / 1.175 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.902, allocations: 209 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.902, allocations: 29.7 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.9021, allocations: 120.1 kB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.9021, allocations: 47.64 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.9022, allocations: 37.69 kB / 1.175 GB, free: 10.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.9023, allocations: 330.8 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.9026, allocations: 71.94 kB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.9028, allocations: 71.94 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004346/0.9032, allocations: 157.5 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9032, allocations: 3.938 kB / 1.176 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005108/0.9037, allocations: 206.7 kB / 1.176 GB, free: 9.941 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.9038, allocations: 8 kB / 1.176 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.9038, allocations: 7.922 kB / 1.176 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.9038, allocations: 0 / 1.176 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.904, allocations: 31.97 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.9041, allocations: 0 / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.9042, allocations: 19.88 kB / 1.176 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.9042, allocations: 11.98 kB / 1.176 GB, free: 9.863 MB / 0.9044 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.0001048/0.9044, allocations: 133.7 kB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/0.9044, allocations: 19.86 kB / 1.176 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.412e-05/0.9045, allocations: 29.83 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.9045, allocations: 0 / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.9045, allocations: 0 / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.9045, allocations: 0 / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003149/0.9048, allocations: 261.5 kB / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.9048, allocations: 0 / 1.177 GB, free: 9.367 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.905, allocations: 43.91 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9051, allocations: 0 / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.9051, allocations: 7.984 kB / 1.177 GB, free: 9.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.9051, allocations: 4 kB / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9051, allocations: 0 / 1.177 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005571/0.9057, allocations: 312.7 kB / 1.177 GB, free: 8.992 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.9058, allocations: 108.9 kB / 1.177 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.9058, allocations: 3.984 kB / 1.177 GB, free: 8.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.906, allocations: 11.98 kB / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.9061, allocations: 11.98 kB / 1.177 GB, free: 8.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9061, allocations: 4 kB / 1.177 GB, free: 8.836 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001298/0.9062, allocations: 156.5 kB / 1.177 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9062, allocations: 4 kB / 1.177 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002963/0.9065, allocations: 43.89 kB / 1.177 GB, free: 8.637 MB / 0.9044 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.0001652/0.9067, allocations: 111.2 kB / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005372/0.9072, allocations: 167.8 kB / 1.177 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9073, allocations: 8 kB / 1.177 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.9075, allocations: 83.88 kB / 1.178 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.9079, allocations: 34.19 kB / 1.178 GB, free: 8.234 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.9087, allocations: 413.9 kB / 1.178 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.909, allocations: 0.7274 MB / 1.179 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.9092, allocations: 48.59 kB / 1.179 GB, free: 7 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.9093, allocations: 23.36 kB / 1.179 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of SimCode: time 6.51e-07/0.9093, allocations: 0 / 1.179 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of Templates: time 0.004504/0.9138, allocations: 1.715 MB / 1.18 GB, free: 5.281 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches