Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifTilIso.HSkyDifTil|HDifTilIso.HGroDifTil",fileNamePrefix="Buildings_10_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_10_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.001451/0.001451, allocations: 99.8 kB / 16.35 MB, free: 5.828 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.001674/0.001674, allocations: 193.4 kB / 17.29 MB, free: 5.484 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 64.09 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2817, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006496/0.2882, allocations: 4.865 MB / 1.024 GB, free: 4.938 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.6381/0.9264, allocations: 150.6 MB / 1.171 GB, free: 172 kB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/0.9274, allocations: 20.09 kB / 1.171 GB, free: 164 kB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0007587/0.9282, allocations: 189.5 kB / 1.171 GB, free: 40 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.9303, allocations: 0.5471 MB / 1.171 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.9325, allocations: 0.8344 MB / 1.172 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.9344, allocations: 1.38 MB / 1.173 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009441/0.9354, allocations: 0.5751 MB / 1.174 GB, free: 14.28 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008461/0.9362, allocations: 483.4 kB / 1.175 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006235/0.9369, allocations: 0.5049 MB / 1.175 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001685/0.937, allocations: 114.6 kB / 1.175 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.9381, allocations: 483.2 kB / 1.176 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.9384, allocations: 292.4 kB / 1.176 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.9389, allocations: 0.554 MB / 1.176 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.9408, allocations: 1.621 MB / 1.178 GB, free: 12 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.9408, allocations: 1.156 kB / 1.178 GB, free: 12 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9408, allocations: 0 / 1.178 GB, free: 12 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.889e-05/0.9409, allocations: 4 kB / 1.178 GB, free: 12 MB / 0.8887 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.002557/0.9434, allocations: 1.418 MB / 1.179 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.9435, allocations: 13.88 kB / 1.179 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009621/0.9445, allocations: 190.5 kB / 1.18 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.9456, allocations: 0.7604 MB / 1.18 GB, free: 10.16 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.548e-05/0.9457, allocations: 67.86 kB / 1.18 GB, free: 10.12 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.9458, allocations: 77.91 kB / 1.18 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.9473, allocations: 0.9115 MB / 1.181 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.9474, allocations: 0 / 1.181 GB, free: 9.512 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.061e-05/0.9474, allocations: 36.17 kB / 1.181 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.9475, allocations: 20.62 kB / 1.181 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/0.9492, allocations: 1.105 MB / 1.182 GB, free: 8.957 MB / 0.8887 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.003959/0.9532, allocations: 2.66 MB / 1.185 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.9546, allocations: 0.7962 MB / 1.186 GB, free: 6.43 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004801/0.9551, allocations: 305.3 kB / 1.186 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.517e-05/0.9552, allocations: 32.27 kB / 1.186 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008233/0.956, allocations: 498 kB / 1.187 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=80): time 2.355e-06/0.9561, allocations: 0 / 1.187 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of matching and sorting (n=80): time 0.003135/0.9592, allocations: 1.194 MB / 1.188 GB, free: 5.293 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.995e-05/0.9593, allocations: 193 kB / 1.188 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009677/0.9603, allocations: 0.6329 MB / 1.189 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.9604, allocations: 42.73 kB / 1.189 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003011/0.9607, allocations: 388 kB / 1.189 GB, free: 4.309 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.9609, allocations: 261 kB / 1.189 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002356/0.9611, allocations: 162.5 kB / 1.189 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.9613, allocations: 390.9 kB / 1.19 GB, free: 3.613 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.9618, allocations: 272.4 kB / 1.19 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.9624, allocations: 362.7 kB / 1.19 GB, free: 3.27 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.9635, allocations: 0.6103 MB / 1.191 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.9635, allocations: 0 / 1.191 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001917/0.9655, allocations: 0.8507 MB / 1.192 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.9655, allocations: 5.5 kB / 1.192 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.9655, allocations: 2.375 kB / 1.192 GB, free: 2.508 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000578/0.9661, allocations: 85.64 kB / 1.192 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/0.9667, allocations: 163.8 kB / 1.192 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002115/0.9688, allocations: 1.627 MB / 1.194 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.9696, allocations: 91.77 kB / 1.194 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.9697, allocations: 43.72 kB / 1.194 GB, free: 0.7383 MB / 0.8887 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.0004454/0.9701, allocations: 267.6 kB / 1.194 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9703, allocations: 81.22 kB / 1.194 GB, free: 500 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002202/0.9725, allocations: 1.061 MB / 1.195 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.9725, allocations: 10.06 kB / 1.195 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.9725, allocations: 0 / 1.195 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.9725, allocations: 7.922 kB / 1.195 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009134/0.9735, allocations: 0.8852 MB / 1.196 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.9735, allocations: 4 kB / 1.196 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.974, allocations: 150.4 kB / 1.196 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000399/0.9744, allocations: 75.5 kB / 1.196 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.226e-05/0.9745, allocations: 30.39 kB / 1.196 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00171/0.9762, allocations: 1.653 MB / 1.198 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.9762, allocations: 0 / 1.198 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.978, allocations: 0.9249 MB / 1.199 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.9784, allocations: 275.8 kB / 1.199 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.9785, allocations: 20.95 kB / 1.199 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.9791, allocations: 64.34 kB / 1.199 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.9793, allocations: 70.05 kB / 1.199 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.748e-05/0.9793, allocations: 34.27 kB / 1.199 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005012/0.9799, allocations: 461.3 kB / 1.2 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9799, allocations: 0 / 1.2 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008267/0.9807, allocations: 323.9 kB / 1.2 GB, free: 12.3 MB / 0.9044 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.001329/0.982, allocations: 0.5987 MB / 1.201 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.9836, allocations: 0.8338 MB / 1.201 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.9836, allocations: 3.984 kB / 1.201 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.9845, allocations: 0.5209 MB / 1.202 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.9856, allocations: 295.9 kB / 1.202 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.9882, allocations: 1.629 MB / 1.204 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.9888, allocations: 1.016 MB / 1.205 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007163/0.9895, allocations: 261.6 kB / 1.205 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002535/0.9898, allocations: 111.9 kB / 1.205 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of SimCode: time 4.51e-07/0.9898, allocations: 0 / 1.205 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.02394/1.014, allocations: 15.03 MB / 1.22 GB, free: 10.48 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches