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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00163/0.00163, 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.002288/0.002288, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.415/1.415, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.67/2.67, allocations: 437 MB / 0.7103 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 63.91 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6766/0.6788, allocations: 151.6 MB / 1.017 GB, free: 2.637 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006747/0.6856, allocations: 4.851 MB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.8498, allocations: 150.6 MB / 1.169 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008918/0.8507, allocations: 11.94 kB / 1.169 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000615/0.8513, allocations: 194.2 kB / 1.169 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.8532, allocations: 0.539 MB / 1.17 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.8551, allocations: 0.8335 MB / 1.171 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00151/0.8566, allocations: 1.37 MB / 1.172 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008396/0.8575, allocations: 0.5764 MB / 1.173 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006591/0.8581, allocations: 486.3 kB / 1.173 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006111/0.8587, allocations: 0.494 MB / 1.173 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001709/0.8589, allocations: 116 kB / 1.174 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009939/0.8599, allocations: 463.6 kB / 1.174 GB, free: 1.504 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000262/0.8602, allocations: 287.1 kB / 1.174 GB, free: 1.223 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.8607, allocations: 0.5519 MB / 1.175 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.8623, allocations: 1.589 MB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8624, allocations: 0 / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8624, allocations: 0 / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.615e-05/0.8624, allocations: 0 / 1.176 GB, free: 15.07 MB / 0.9356 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.002401/0.8648, allocations: 1.418 MB / 1.178 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.8648, allocations: 11.98 kB / 1.178 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009166/0.8658, allocations: 187.4 kB / 1.178 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.8668, allocations: 0.7421 MB / 1.179 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.8668, allocations: 66 kB / 1.179 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.8669, allocations: 76 kB / 1.179 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.8684, allocations: 0.9145 MB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.8685, allocations: 7.938 kB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.173e-05/0.8686, allocations: 32 kB / 1.18 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.8686, allocations: 20 kB / 1.18 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001744/0.8703, allocations: 1.108 MB / 1.181 GB, free: 10.36 MB / 0.9356 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.8743, allocations: 2.693 MB / 1.183 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.8757, allocations: 0.8018 MB / 1.184 GB, free: 6.746 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.8763, allocations: 302.6 kB / 1.185 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.017e-05/0.8764, allocations: 28.69 kB / 1.185 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008318/0.8772, allocations: 0.4912 MB / 1.185 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.445e-06/0.8772, allocations: 0 / 1.185 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.003223/0.8804, allocations: 1.186 MB / 1.186 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.8806, allocations: 196.5 kB / 1.186 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008094/0.8814, allocations: 0.6331 MB / 1.187 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.41e-05/0.8814, allocations: 41.7 kB / 1.187 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.8818, allocations: 400.3 kB / 1.187 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.882, allocations: 264.3 kB / 1.188 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.8822, allocations: 162.5 kB / 1.188 GB, free: 2.941 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8824, allocations: 390.7 kB / 1.188 GB, free: 2.551 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.8829, allocations: 261.9 kB / 1.188 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.8835, allocations: 375 kB / 1.189 GB, free: 1.918 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.8846, allocations: 0.5956 MB / 1.189 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8846, allocations: 3.938 kB / 1.189 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001941/0.8866, allocations: 0.8488 MB / 1.19 GB, free: 460 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.8866, allocations: 12.08 kB / 1.19 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.8866, allocations: 4 kB / 1.19 GB, free: 444 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005945/0.8872, allocations: 80.78 kB / 1.19 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006545/0.8879, allocations: 167.6 kB / 1.19 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.89, allocations: 1.625 MB / 1.192 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000805/0.8908, allocations: 96.72 kB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.8909, allocations: 31.98 kB / 1.192 GB, free: 14.29 MB / 0.9512 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.000442/0.8914, allocations: 275.9 kB / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.8915, allocations: 82.97 kB / 1.193 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.8939, allocations: 1.062 MB / 1.194 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.894, allocations: 8 kB / 1.194 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.894, allocations: 7.875 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.894, allocations: 3.984 kB / 1.194 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.8951, allocations: 0.8841 MB / 1.194 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.8951, allocations: 0 / 1.194 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/0.8957, allocations: 139.8 kB / 1.195 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.8962, allocations: 80.72 kB / 1.195 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.595e-05/0.8962, allocations: 23.98 kB / 1.195 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/0.8981, allocations: 1.67 MB / 1.196 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.8981, allocations: 0 / 1.196 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/0.9002, allocations: 0.924 MB / 1.197 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003819/0.9006, allocations: 267.7 kB / 1.197 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.9007, allocations: 24.06 kB / 1.197 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.9013, allocations: 59.92 kB / 1.198 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.9015, allocations: 72.84 kB / 1.198 GB, free: 8.461 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.9016, allocations: 39.91 kB / 1.198 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005646/0.9022, allocations: 455 kB / 1.198 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9022, allocations: 0 / 1.198 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000797/0.903, allocations: 323.3 kB / 1.198 GB, free: 7.664 MB / 0.9512 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.001314/0.9043, allocations: 0.6018 MB / 1.199 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002406/0.9067, allocations: 1.038 MB / 1.2 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.9067, allocations: 0 / 1.2 GB, free: 6.18 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009512/0.9077, allocations: 0.5081 MB / 1.201 GB, free: 5.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.909, allocations: 303.1 kB / 1.201 GB, free: 5.391 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.9119, allocations: 1.654 MB / 1.202 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.9125, allocations: 1.023 MB / 1.203 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008412/0.9133, allocations: 266.6 kB / 1.204 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.9136, allocations: 103.4 kB / 1.204 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of SimCode: time 6.71e-07/0.9136, allocations: 0 / 1.204 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of Templates: time 0.02639/0.94, allocations: 15.03 MB / 1.218 GB, free: 3.461 MB / 0.9669 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 -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/jenkins/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