Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.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.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.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001684/0.001684, allocations: 197.7 kB / 16.79 MB, free: 6.809 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.397/1.397, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.722/2.722, allocations: 461.9 MB / 0.7348 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.39 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3488, allocations: 157.4 MB / 1.053 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.009734/0.3586, allocations: 4.872 MB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1712/0.5298, allocations: 148.3 MB / 1.202 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.5312, allocations: 19.88 kB / 1.202 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009236/0.5321, allocations: 154.8 kB / 1.202 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002121/0.5343, allocations: 465 kB / 1.203 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.5366, allocations: 0.728 MB / 1.204 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001874/0.5385, allocations: 1.276 MB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.5397, allocations: 0.5634 MB / 1.205 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008202/0.5405, allocations: 414.3 kB / 1.206 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008719/0.5414, allocations: 469.8 kB / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.5417, allocations: 60 kB / 1.206 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.5428, allocations: 399.6 kB / 1.207 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.5433, allocations: 235 kB / 1.207 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0008017/0.5441, allocations: 0.4972 MB / 1.207 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.5457, allocations: 1.189 MB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.5457, allocations: 3.938 kB / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5457, allocations: 0 / 1.209 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.641e-05/0.5458, allocations: 0 / 1.209 GB, free: 8.062 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.003329/0.5491, allocations: 1.412 MB / 1.21 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5492, allocations: 19.97 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5503, allocations: 187.4 kB / 1.21 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.5517, allocations: 0.7343 MB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.415e-05/0.5518, allocations: 66 kB / 1.211 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/0.5519, allocations: 80 kB / 1.211 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.5538, allocations: 0.9145 MB / 1.212 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.5538, allocations: 4 kB / 1.212 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.554, allocations: 39.94 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.554, allocations: 20 kB / 1.212 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.5559, allocations: 1.104 MB / 1.213 GB, free: 3.359 MB / 0.9669 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.004859/0.5607, allocations: 2.705 MB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5626, allocations: 0.7942 MB / 1.216 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.5632, allocations: 306.6 kB / 1.217 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.5633, allocations: 32.59 kB / 1.217 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.5643, allocations: 495.1 kB / 1.217 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 4.529e-06/0.5643, allocations: 3.984 kB / 1.217 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003468/0.5678, allocations: 1.194 MB / 1.218 GB, free: 13.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/0.568, allocations: 188.6 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.5693, allocations: 0.6292 MB / 1.219 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.5695, allocations: 41.7 kB / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.57, allocations: 404.3 kB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.5703, allocations: 252.3 kB / 1.22 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003703/0.5707, allocations: 162.5 kB / 1.22 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000219/0.5709, allocations: 390.7 kB / 1.22 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006244/0.5716, allocations: 269.8 kB / 1.221 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000721/0.5723, allocations: 363.1 kB / 1.221 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/0.5735, allocations: 0.6072 MB / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.5735, allocations: 0 / 1.222 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002358/0.5759, allocations: 0.8527 MB / 1.222 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.5759, allocations: 13.59 kB / 1.222 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.576, allocations: 0 / 1.222 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006925/0.5767, allocations: 84.77 kB / 1.223 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007083/0.5774, allocations: 167.7 kB / 1.223 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00239/0.5798, allocations: 1.516 MB / 1.224 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009123/0.5807, allocations: 95.3 kB / 1.224 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.957e-05/0.5808, allocations: 39.97 kB / 1.224 GB, free: 7.387 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 (95): * Single equations (assignments): 94 * 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.0005721/0.5814, allocations: 263.6 kB / 1.225 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.5817, allocations: 86.98 kB / 1.225 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.5844, allocations: 1.065 MB / 1.226 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5844, allocations: 8 kB / 1.226 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5844, allocations: 4 kB / 1.226 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5844, allocations: 3.984 kB / 1.226 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.5858, allocations: 0.8879 MB / 1.227 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.5859, allocations: 0 / 1.227 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005923/0.5865, allocations: 139.8 kB / 1.227 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/0.587, allocations: 88.7 kB / 1.227 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/0.5871, allocations: 23.98 kB / 1.227 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.5891, allocations: 1.548 MB / 1.228 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5891, allocations: 3.938 kB / 1.228 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.5913, allocations: 0.9201 MB / 1.229 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.5918, allocations: 271.7 kB / 1.229 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/0.592, allocations: 20 kB / 1.229 GB, free: 1.809 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/0.5928, allocations: 78.11 kB / 1.23 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.593, allocations: 64.91 kB / 1.23 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.5931, allocations: 39.97 kB / 1.23 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007505/0.5938, allocations: 455 kB / 1.23 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5938, allocations: 0 / 1.23 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001147/0.595, allocations: 323.2 kB / 1.23 GB, free: 0.8789 MB / 0.9825 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 (91): * Single equations (assignments): 85 * 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.001713/0.5967, allocations: 0.6022 MB / 1.231 GB, free: 464 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001899/0.5986, allocations: 0.8234 MB / 1.232 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5986, allocations: 0 / 1.232 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.5997, allocations: 0.5121 MB / 1.232 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.6011, allocations: 278.4 kB / 1.233 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.6047, allocations: 2.088 MB / 1.235 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.6054, allocations: 1.022 MB / 1.236 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.6058, allocations: 119.3 kB / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of SimCode: time 5.11e-07/0.6058, allocations: 0 / 1.236 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of Templates: time 0.5587/1.164, allocations: 18.36 MB / 1.254 GB, free: 191.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,HDifTilIso.HSkyDifTil,HDifTilIso.HGroDifTil Variables in the result:HDifTilIso.HGroDifTil,HDifTilIso.HSkyDifTil,time