Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009777/0.0009777, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007689/0.007689, allocations: 169.1 kB / 16.26 MB, free: 6.328 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.585/1.585, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.111/3.111, allocations: 462.7 MB / 0.7364 GB, free: 288 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003729, allocations: 10.28 kB / 0.9028 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3627, allocations: 159.6 MB / 1.059 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006754/0.3695, allocations: 5.51 MB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1675/0.537, allocations: 146.9 MB / 1.208 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.5387, allocations: 19.88 kB / 1.208 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.54, allocations: 186.5 kB / 1.208 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.5431, allocations: 0.5239 MB / 1.208 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002683/0.5458, allocations: 0.7685 MB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002587/0.5484, allocations: 1.54 MB / 1.21 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.55, allocations: 0.8152 MB / 1.211 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009542/0.551, allocations: 417.9 kB / 1.212 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009183/0.5519, allocations: 477.2 kB / 1.212 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002304/0.5521, allocations: 32 kB / 1.212 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.5533, allocations: 367.6 kB / 1.213 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.5536, allocations: 218.9 kB / 1.213 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007831/0.5544, allocations: 0.5763 MB / 1.213 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/0.5565, allocations: 1.849 MB / 1.215 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.5566, allocations: 3.984 kB / 1.215 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5566, allocations: 7.938 kB / 1.215 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.927e-05/0.5566, allocations: 0 / 1.215 GB, free: 4.672 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002625/0.5592, allocations: 1.432 MB / 1.216 GB, free: 3.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.5593, allocations: 12.03 kB / 1.217 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009659/0.5603, allocations: 231 kB / 1.217 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.5615, allocations: 0.8482 MB / 1.218 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/0.5616, allocations: 90.39 kB / 1.218 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.5617, allocations: 116 kB / 1.218 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.5638, allocations: 1.206 MB / 1.219 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.5638, allocations: 0 / 1.219 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.5639, allocations: 51.94 kB / 1.219 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.564, allocations: 28 kB / 1.219 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.566, allocations: 1.297 MB / 1.22 GB, free: 15.2 MB / 0.9825 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005222/0.5712, allocations: 3.626 MB / 1.224 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.5728, allocations: 0.8677 MB / 1.225 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.5734, allocations: 330.7 kB / 1.225 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.434e-05/0.5734, allocations: 32.59 kB / 1.225 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009177/0.5744, allocations: 0.5198 MB / 1.226 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=87): time 2.905e-06/0.5744, allocations: 3.938 kB / 1.226 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of matching and sorting (n=87): time 0.003265/0.5777, allocations: 1.298 MB / 1.227 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.5778, allocations: 196.9 kB / 1.227 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5788, allocations: 0.7352 MB / 1.228 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.5789, allocations: 45.7 kB / 1.228 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004613/0.5794, allocations: 0.5114 MB / 1.228 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002489/0.5796, allocations: 283.9 kB / 1.229 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.5797, allocations: 77.67 kB / 1.229 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5799, allocations: 337.9 kB / 1.229 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.5805, allocations: 298 kB / 1.229 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/0.5811, allocations: 399 kB / 1.23 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/0.5823, allocations: 0.6633 MB / 1.23 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5823, allocations: 0 / 1.23 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002014/0.5843, allocations: 0.9345 MB / 1.231 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.5843, allocations: 12.09 kB / 1.231 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.505e-06/0.5843, allocations: 3.938 kB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000624/0.585, allocations: 76.84 kB / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/0.5857, allocations: 183.8 kB / 1.231 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002226/0.5879, allocations: 1.528 MB / 1.233 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008869/0.5888, allocations: 115.2 kB / 1.233 GB, free: 1.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.454e-05/0.589, allocations: 39.97 kB / 1.233 GB, free: 1.645 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006099/0.5896, allocations: 297.6 kB / 1.233 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001787/0.5898, allocations: 94.88 kB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/0.5923, allocations: 1.133 MB / 1.235 GB, free: 108 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5923, allocations: 8 kB / 1.235 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5923, allocations: 0 / 1.235 GB, free: 100 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.5923, allocations: 11.92 kB / 1.235 GB, free: 88 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.5937, allocations: 1.048 MB / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5937, allocations: 0 / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.5944, allocations: 163.7 kB / 1.236 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/0.5949, allocations: 84.77 kB / 1.236 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.636e-05/0.595, allocations: 23.98 kB / 1.236 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.5969, allocations: 1.552 MB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5969, allocations: 0 / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.5992, allocations: 0.9941 MB / 1.238 GB, free: 12.01 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.5998, allocations: 311.4 kB / 1.239 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/0.6, allocations: 23.98 kB / 1.239 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000765/0.6008, allocations: 83.92 kB / 1.239 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/0.601, allocations: 72.91 kB / 1.239 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/0.6011, allocations: 39.97 kB / 1.239 GB, free: 11.47 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000754/0.6018, allocations: 0.5185 MB / 1.239 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.6019, allocations: 3.938 kB / 1.239 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001166/0.603, allocations: 382.8 kB / 1.24 GB, free: 10.58 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001569/0.6046, allocations: 0.6077 MB / 1.24 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001919/0.6065, allocations: 0.8937 MB / 1.241 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.6066, allocations: 4.188 kB / 1.241 GB, free: 9.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009826/0.6075, allocations: 0.5509 MB / 1.242 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.6091, allocations: 291.8 kB / 1.242 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.6139, allocations: 2.557 MB / 1.244 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.6147, allocations: 1.114 MB / 1.246 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001174/0.6159, allocations: 299.5 kB / 1.246 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002799/0.6162, allocations: 111.4 kB / 1.246 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of SimCode: time 1.163e-06/0.6162, allocations: 0 / 1.246 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.59/1.206, allocations: 15.6 MB / 1.261 GB, free: 187.6 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches