Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.009712/0.009712, allocations: 100.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.002003/0.002003, allocations: 193.2 kB / 16.67 MB, free: 5.957 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.724/2.724, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.788/0.7892, allocations: 159.2 MB / 1.221 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.00276/0.792, allocations: 1.908 MB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00374/0.7957, allocations: 3.463 MB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.7958, allocations: 0 / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.7961, allocations: 52.61 kB / 1.226 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005153/0.7966, allocations: 134.8 kB / 1.226 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 8.11e-05/0.7967, allocations: 19.97 kB / 1.226 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002802/0.797, allocations: 187.2 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.7971, allocations: 17.67 kB / 1.226 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.7973, allocations: 91.62 kB / 1.226 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.7974, allocations: 83.61 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.7974, allocations: 12 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.7975, allocations: 31.91 kB / 1.226 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.156e-05/0.7976, allocations: 39.84 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.34e-05/0.7977, allocations: 67.55 kB / 1.227 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.7979, allocations: 179.1 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7979, allocations: 7.938 kB / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7979, allocations: 0 / 1.227 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.7979, allocations: 0 / 1.227 GB, free: 11.79 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.0008964/0.7988, allocations: 0.5099 MB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.7988, allocations: 12.03 kB / 1.227 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.268e-05/0.7989, allocations: 24.8 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.7992, allocations: 243.1 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-06/0.7992, allocations: 4.375 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.7993, allocations: 4.375 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.7996, allocations: 145.5 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.7996, allocations: 0 / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.039e-05/0.7996, allocations: 12 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.919e-05/0.7997, allocations: 7.984 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004131/0.8001, allocations: 139.9 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.8008, allocations: 456.5 kB / 1.228 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.8012, allocations: 166.4 kB / 1.228 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002506/0.8014, allocations: 92.8 kB / 1.228 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.8014, allocations: 4 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.508e-05/0.8015, allocations: 42.55 kB / 1.229 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.203e-06/0.8015, allocations: 0 / 1.229 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0008209/0.8023, allocations: 305.5 kB / 1.229 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.8023, allocations: 51.41 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.8025, allocations: 213 kB / 1.229 GB, free: 9.211 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.8025, allocations: 29.7 kB / 1.229 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.8026, allocations: 116.1 kB / 1.229 GB, free: 9.059 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.454e-05/0.8027, allocations: 47.56 kB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.326e-05/0.8027, allocations: 33.7 kB / 1.229 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.8028, allocations: 338.8 kB / 1.23 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002251/0.8031, allocations: 75.88 kB / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/0.8033, allocations: 75.92 kB / 1.23 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004438/0.8037, allocations: 161.8 kB / 1.23 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.8037, allocations: 0 / 1.23 GB, free: 8.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005991/0.8043, allocations: 227.5 kB / 1.23 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.8043, allocations: 8 kB / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.8043, allocations: 0 / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.8043, allocations: 0 / 1.23 GB, free: 8.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.8046, allocations: 35.95 kB / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.8046, allocations: 0 / 1.23 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.8048, allocations: 23.94 kB / 1.23 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.8048, allocations: 0 / 1.23 GB, free: 8.031 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.0001121/0.8049, allocations: 134.3 kB / 1.23 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.805, allocations: 23.84 kB / 1.23 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.613e-05/0.805, allocations: 29.77 kB / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.805, allocations: 0 / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.8051, allocations: 0 / 1.23 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8051, allocations: 4 kB / 1.23 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.8053, allocations: 265.4 kB / 1.231 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8053, allocations: 4 kB / 1.231 GB, free: 7.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002439/0.8056, allocations: 35.95 kB / 1.231 GB, free: 7.484 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.8056, allocations: 4 kB / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.8056, allocations: 0 / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8056, allocations: 0 / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.8056, allocations: 0 / 1.231 GB, free: 7.48 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005555/0.8061, allocations: 323.2 kB / 1.231 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.8062, allocations: 112.9 kB / 1.231 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.8063, allocations: 4 kB / 1.231 GB, free: 7.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.8065, allocations: 11.98 kB / 1.231 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.8065, allocations: 15.97 kB / 1.231 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.8065, allocations: 4 kB / 1.231 GB, free: 6.984 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001176/0.8067, allocations: 152.5 kB / 1.231 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8067, allocations: 0 / 1.231 GB, free: 6.836 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002776/0.8069, allocations: 47.86 kB / 1.231 GB, free: 6.789 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.0001468/0.8071, allocations: 115.2 kB / 1.231 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.8076, allocations: 172.4 kB / 1.232 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8076, allocations: 0 / 1.232 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.8078, allocations: 102.7 kB / 1.232 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.8082, allocations: 38.27 kB / 1.232 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007936/0.809, allocations: 422.4 kB / 1.232 GB, free: 5.922 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.8093, allocations: 0.7236 MB / 1.233 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.8094, allocations: 52.58 kB / 1.233 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.8095, allocations: 19.44 kB / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of SimCode: time 3.1e-07/0.8095, allocations: 0 / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of Templates: time 0.004504/0.814, allocations: 1.861 MB / 1.235 GB, free: 3.262 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches