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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001255/0.001255, allocations: 108 kB / 15.6 MB, free: 132 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.001383/0.001383, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.391/1.391, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.747/2.747, allocations: 472.6 MB / 0.7451 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 68.23 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.354, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006219/0.3603, allocations: 4.844 MB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1541/0.5144, allocations: 150.6 MB / 1.22 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.5153, allocations: 15.94 kB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007005/0.516, allocations: 186.2 kB / 1.22 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.5179, allocations: 0.546 MB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002074/0.52, allocations: 0.8199 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.5217, allocations: 1.37 MB / 1.223 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008933/0.5226, allocations: 0.5792 MB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.5233, allocations: 478.3 kB / 1.224 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006084/0.5239, allocations: 0.494 MB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/0.5241, allocations: 116 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009341/0.5251, allocations: 463.6 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.5254, allocations: 295 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007247/0.5262, allocations: 0.5519 MB / 1.226 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.528, allocations: 1.581 MB / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.528, allocations: 0 / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.072e-06/0.528, allocations: 0 / 1.227 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.5281, allocations: 0 / 1.227 GB, free: 6.855 MB / 0.9825 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.002306/0.5304, allocations: 1.418 MB / 1.229 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.5304, allocations: 8.031 kB / 1.229 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008728/0.5313, allocations: 187.4 kB / 1.229 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009207/0.5322, allocations: 0.7422 MB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.68e-05/0.5323, allocations: 69.98 kB / 1.23 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.5324, allocations: 76 kB / 1.23 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.5338, allocations: 0.9106 MB / 1.231 GB, free: 3.312 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.5338, allocations: 4 kB / 1.231 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.536e-05/0.5339, allocations: 35.98 kB / 1.231 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.5339, allocations: 24 kB / 1.231 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.5355, allocations: 1.104 MB / 1.232 GB, free: 2.141 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.003693/0.5392, allocations: 2.699 MB / 1.234 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5407, allocations: 0.8024 MB / 1.235 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005039/0.5412, allocations: 306.6 kB / 1.235 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.631e-05/0.5413, allocations: 32.67 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008504/0.5421, allocations: 491.2 kB / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 2.234e-06/0.5421, allocations: 0 / 1.236 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.00303/0.5452, allocations: 1.198 MB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.465e-05/0.5453, allocations: 192.6 kB / 1.237 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.546, allocations: 0.6254 MB / 1.238 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.834e-05/0.5461, allocations: 41.7 kB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002772/0.5464, allocations: 396.3 kB / 1.238 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.5466, allocations: 264.2 kB / 1.239 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.5468, allocations: 162.5 kB / 1.239 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.547, allocations: 390.7 kB / 1.239 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.5475, allocations: 265.8 kB / 1.239 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.5481, allocations: 367.1 kB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.5492, allocations: 0.6033 MB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.5492, allocations: 0 / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00198/0.5512, allocations: 0.8566 MB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.5512, allocations: 5.5 kB / 1.241 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5512, allocations: 4 kB / 1.241 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.5519, allocations: 84.77 kB / 1.241 GB, free: 8.129 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/0.5525, allocations: 163.7 kB / 1.241 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.5545, allocations: 1.636 MB / 1.243 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007586/0.5553, allocations: 91.33 kB / 1.243 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.168e-05/0.5554, allocations: 35.97 kB / 1.243 GB, free: 6.066 MB / 0.9981 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.0004635/0.5559, allocations: 271.4 kB / 1.243 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002015/0.5561, allocations: 82.97 kB / 1.243 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002343/0.5584, allocations: 1.058 MB / 1.245 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.5585, allocations: 11.94 kB / 1.245 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5585, allocations: 3.938 kB / 1.245 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.5585, allocations: 3.984 kB / 1.245 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.5596, allocations: 0.8917 MB / 1.245 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5596, allocations: 0 / 1.245 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.5602, allocations: 143.8 kB / 1.246 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.5607, allocations: 76.72 kB / 1.246 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/0.5607, allocations: 23.98 kB / 1.246 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.5625, allocations: 1.666 MB / 1.247 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5626, allocations: 0 / 1.247 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/0.5645, allocations: 0.924 MB / 1.248 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.5649, allocations: 267.7 kB / 1.248 GB, free: 404 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.5651, allocations: 23.98 kB / 1.248 GB, free: 380 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.5657, allocations: 57.81 kB / 1.248 GB, free: 324 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000153/0.5659, allocations: 76.89 kB / 1.249 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.5659, allocations: 31.92 kB / 1.249 GB, free: 212 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5796/1.146, allocations: 458.8 kB / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.81e-07/1.146, allocations: 0 / 1.249 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001398/1.147, allocations: 321.6 kB / 1.249 GB, free: 183.7 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 (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.001417/1.148, allocations: 0.5992 MB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002601/1.151, allocations: 1.032 MB / 1.251 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.151, allocations: 0.7188 kB / 1.251 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009699/1.152, allocations: 0.5129 MB / 1.251 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/1.153, allocations: 299.1 kB / 1.252 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/1.157, allocations: 1.654 MB / 1.253 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/1.157, allocations: 1.022 MB / 1.254 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001023/1.158, allocations: 270.4 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002718/1.158, allocations: 111.6 kB / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of SimCode: time 1.422e-06/1.158, allocations: 0 / 1.255 GB, free: 182 MB / 0.9981 GB Notification: Performance of Templates: time 0.03123/1.19, allocations: 15.03 MB / 1.269 GB, free: 180.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches