Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDirRoo.H|HDirWal.H|HDirFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001641/0.001641, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.731/2.731, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003852/0.0003853, allocations: 8 kB / 0.8707 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8445/0.8449, allocations: 153.7 MB / 1.021 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005741/0.8507, allocations: 4.481 MB / 1.025 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1701/1.021, allocations: 127.9 MB / 1.15 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/1.022, allocations: 19.88 kB / 1.15 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006973/1.023, allocations: 95.11 kB / 1.15 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/1.025, allocations: 0.6063 MB / 1.151 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002689/1.028, allocations: 0.7409 MB / 1.152 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002632/1.031, allocations: 1.087 MB / 1.153 GB, free: 9.867 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/1.032, allocations: 0.9308 MB / 1.153 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/1.034, allocations: 0.4977 MB / 1.154 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/1.035, allocations: 0.5089 MB / 1.154 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004104/1.035, allocations: 40 kB / 1.155 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/1.037, allocations: 323.6 kB / 1.155 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004553/1.037, allocations: 258.8 kB / 1.155 GB, free: 7.293 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000538/1.038, allocations: 296.8 kB / 1.155 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002595/1.04, allocations: 1.89 MB / 1.157 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/1.04, allocations: 0 / 1.157 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.677e-06/1.04, allocations: 0 / 1.157 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.781e-05/1.04, allocations: 0 / 1.157 GB, free: 5.102 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.004618/1.045, allocations: 1.671 MB / 1.159 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/1.045, allocations: 11.98 kB / 1.159 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/1.046, allocations: 261.7 kB / 1.159 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/1.048, allocations: 0.9498 MB / 1.16 GB, free: 2.109 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/1.049, allocations: 148.8 kB / 1.16 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003044/1.049, allocations: 155.9 kB / 1.16 GB, free: 1.805 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/1.052, allocations: 1.573 MB / 1.162 GB, free: 180 kB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/1.052, allocations: 4 kB / 1.162 GB, free: 176 kB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/1.052, allocations: 60 kB / 1.162 GB, free: 116 kB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/1.052, allocations: 47.98 kB / 1.162 GB, free: 68 kB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/1.055, allocations: 1.585 MB / 1.163 GB, free: 14.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008071/1.063, allocations: 4.289 MB / 1.168 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/1.065, allocations: 1.09 MB / 1.169 GB, free: 9.023 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001008/1.065, allocations: 41.02 kB / 1.169 GB, free: 8.984 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001272/1.067, allocations: 0.7036 MB / 1.169 GB, free: 8.258 MB / 0.92 GB Notification: Performance of pre-optimization done (n=111): time 3.968e-06/1.067, allocations: 0 / 1.169 GB, free: 8.258 MB / 0.92 GB Notification: Performance of matching and sorting (n=111): time 0.004069/1.071, allocations: 1.654 MB / 1.171 GB, free: 6.578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.071, allocations: 192.9 kB / 1.171 GB, free: 6.348 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/1.072, allocations: 0.8378 MB / 1.172 GB, free: 5.484 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/1.073, allocations: 49.7 kB / 1.172 GB, free: 5.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005835/1.073, allocations: 0.6206 MB / 1.173 GB, free: 4.801 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003351/1.074, allocations: 354.9 kB / 1.173 GB, free: 4.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/1.074, allocations: 20 kB / 1.173 GB, free: 4.43 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.074, allocations: 345.9 kB / 1.173 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/1.074, allocations: 374.5 kB / 1.174 GB, free: 3.719 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008726/1.075, allocations: 0.4985 MB / 1.174 GB, free: 3.188 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008529/1.076, allocations: 430.8 kB / 1.175 GB, free: 2.77 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/1.076, allocations: 0 / 1.175 GB, free: 2.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002516/1.079, allocations: 1.149 MB / 1.176 GB, free: 1.613 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/1.079, allocations: 12.09 kB / 1.176 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.079, allocations: 0 / 1.176 GB, free: 1.602 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/1.079, allocations: 88.77 kB / 1.176 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009151/1.08, allocations: 219.7 kB / 1.176 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/1.082, allocations: 1.543 MB / 1.178 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.084, allocations: 146.8 kB / 1.178 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/1.084, allocations: 51.89 kB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0008318/1.085, allocations: 359.9 kB / 1.178 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/1.085, allocations: 114.6 kB / 1.178 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/1.088, allocations: 1.555 MB / 1.18 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/1.088, allocations: 12 kB / 1.18 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.088, allocations: 0 / 1.18 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.088, allocations: 7.969 kB / 1.18 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/1.091, allocations: 1.38 MB / 1.181 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.091, allocations: 0 / 1.181 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008595/1.092, allocations: 199.7 kB / 1.181 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005465/1.092, allocations: 84.78 kB / 1.181 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/1.092, allocations: 35.97 kB / 1.181 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/1.094, allocations: 1.571 MB / 1.183 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.094, allocations: 8.094 kB / 1.183 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002837/1.097, allocations: 1.285 MB / 1.184 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008224/1.098, allocations: 387 kB / 1.185 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003019/1.098, allocations: 31.94 kB / 1.185 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.099, allocations: 99.92 kB / 1.185 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/1.1, allocations: 101.2 kB / 1.185 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.1, allocations: 51.95 kB / 1.185 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001182/1.101, allocations: 0.6059 MB / 1.185 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/1.101, allocations: 3.938 kB / 1.185 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001464/1.102, allocations: 442.5 kB / 1.186 GB, free: 6.848 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/1.104, allocations: 0.6257 MB / 1.187 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002602/1.106, allocations: 1.101 MB / 1.188 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/1.106, allocations: 4 kB / 1.188 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001292/1.108, allocations: 0.6817 MB / 1.188 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/1.109, allocations: 253.5 kB / 1.189 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006617/1.116, allocations: 3.22 MB / 1.192 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.117, allocations: 1.259 MB / 1.193 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001363/1.118, allocations: 320.9 kB / 1.193 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004851/1.119, allocations: 147.3 kB / 1.193 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of SimCode: time 1.262e-06/1.119, allocations: 0 / 1.193 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of Templates: time 0.03299/1.152, allocations: 17.95 MB / 1.211 GB, free: 13.56 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches