Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001583/0.001583, allocations: 108 kB / 15.99 MB, free: 6.363 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.001566/0.001567, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.446/1.446, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.794/2.794, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 72.05 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.354, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007078/0.3611, allocations: 4.849 MB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.8307/1.192, allocations: 148.4 MB / 1.214 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/1.193, allocations: 15.44 kB / 1.214 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006678/1.194, allocations: 153.3 kB / 1.214 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002077/1.196, allocations: 476.4 kB / 1.214 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/1.198, allocations: 0.7457 MB / 1.215 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002088/1.2, allocations: 1.368 MB / 1.216 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009775/1.201, allocations: 0.5766 MB / 1.217 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008771/1.202, allocations: 484.2 kB / 1.217 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006851/1.203, allocations: 0.5019 MB / 1.218 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/1.203, allocations: 115.3 kB / 1.218 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001083/1.204, allocations: 453.3 kB / 1.219 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003192/1.204, allocations: 296.8 kB / 1.219 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000612/1.205, allocations: 0.5564 MB / 1.219 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/1.207, allocations: 1.21 MB / 1.221 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.207, allocations: 2.875 kB / 1.221 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/1.207, allocations: 4 kB / 1.221 GB, free: 6.836 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.63e-05/1.207, allocations: 0 / 1.221 GB, free: 6.836 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.002977/1.21, allocations: 1.425 MB / 1.222 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/1.21, allocations: 8 kB / 1.222 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009712/1.211, allocations: 189 kB / 1.222 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/1.212, allocations: 0.733 MB / 1.223 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.155e-05/1.212, allocations: 64.06 kB / 1.223 GB, free: 4.988 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/1.212, allocations: 76.97 kB / 1.223 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.214, allocations: 0.9183 MB / 1.224 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.214, allocations: 2.25 kB / 1.224 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/1.214, allocations: 35.34 kB / 1.224 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/1.214, allocations: 21.03 kB / 1.224 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/1.216, allocations: 1.108 MB / 1.225 GB, free: 3.809 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.004442/1.22, allocations: 2.693 MB / 1.228 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.222, allocations: 0.8017 MB / 1.228 GB, free: 0.5703 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/1.222, allocations: 303.5 kB / 1.229 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.626e-05/1.222, allocations: 36.81 kB / 1.229 GB, free: 244 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001023/1.223, allocations: 498.8 kB / 1.229 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=80): time 2.314e-06/1.223, allocations: 0 / 1.229 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of matching and sorting (n=80): time 0.003342/1.227, allocations: 1.19 MB / 1.23 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.227, allocations: 192.6 kB / 1.231 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008956/1.228, allocations: 0.6331 MB / 1.231 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/1.228, allocations: 41.7 kB / 1.231 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003494/1.228, allocations: 392.4 kB / 1.232 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/1.228, allocations: 260.3 kB / 1.232 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/1.229, allocations: 162.5 kB / 1.232 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002118/1.229, allocations: 390.7 kB / 1.232 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005501/1.229, allocations: 273.8 kB / 1.233 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/1.23, allocations: 363.1 kB / 1.233 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/1.231, allocations: 0.6073 MB / 1.234 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/1.231, allocations: 3.984 kB / 1.234 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002032/1.233, allocations: 0.8488 MB / 1.234 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.233, allocations: 4 kB / 1.234 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/1.233, allocations: 0 / 1.234 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006251/1.234, allocations: 88.78 kB / 1.234 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/1.235, allocations: 163.8 kB / 1.235 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002489/1.237, allocations: 1.639 MB / 1.236 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008425/1.238, allocations: 102.1 kB / 1.236 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/1.238, allocations: 35.97 kB / 1.236 GB, free: 8.102 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.0005376/1.239, allocations: 270.1 kB / 1.237 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/1.239, allocations: 79.06 kB / 1.237 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/1.241, allocations: 1.064 MB / 1.238 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/1.241, allocations: 12 kB / 1.238 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/1.241, allocations: 4 kB / 1.238 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.241, allocations: 7.969 kB / 1.238 GB, free: 6.656 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/1.243, allocations: 0.8802 MB / 1.239 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.243, allocations: 4 kB / 1.239 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/1.243, allocations: 150.9 kB / 1.239 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/1.244, allocations: 72.78 kB / 1.239 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.219e-05/1.244, allocations: 23.98 kB / 1.239 GB, free: 5.477 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/1.246, allocations: 1.659 MB / 1.24 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.246, allocations: 0 / 1.24 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/1.248, allocations: 0.924 MB / 1.241 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/1.248, allocations: 271.7 kB / 1.242 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.249, allocations: 23.98 kB / 1.242 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/1.249, allocations: 63.94 kB / 1.242 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001668/1.249, allocations: 68.89 kB / 1.242 GB, free: 2.289 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/1.249, allocations: 35.98 kB / 1.242 GB, free: 2.254 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006154/1.25, allocations: 459 kB / 1.242 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.25, allocations: 0 / 1.242 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000962/1.251, allocations: 327.2 kB / 1.243 GB, free: 1.488 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.001966/1.253, allocations: 0.613 MB / 1.243 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002482/1.255, allocations: 1.023 MB / 1.244 GB, free: 20 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/1.255, allocations: 0 / 1.244 GB, free: 20 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009607/1.256, allocations: 0.5198 MB / 1.245 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.258, allocations: 296.6 kB / 1.245 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/1.261, allocations: 2.094 MB / 1.247 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/1.262, allocations: 1.021 MB / 1.248 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/1.262, allocations: 115.4 kB / 1.248 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of SimCode: time 9.82e-07/1.262, allocations: 0 / 1.248 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.02775/1.29, allocations: 18.38 MB / 1.266 GB, free: 9.629 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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