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.0009945/0.0009945, allocations: 98.72 kB / 16.02 MB, free: 76 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.0009173/0.0009174, allocations: 182.4 kB / 16.92 MB, free: 6.918 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.376/1.376, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.763/2.763, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003643/0.0003644, allocations: 8.719 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005973/0.3605, allocations: 4.432 MB / 1.064 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.165/0.5256, allocations: 146.7 MB / 1.207 GB, free: 13.28 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009458/0.5266, allocations: 19.88 kB / 1.207 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007592/0.5273, allocations: 146.9 kB / 1.207 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.5294, allocations: 468.8 kB / 1.208 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.5315, allocations: 0.7134 MB / 1.208 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001827/0.5333, allocations: 1.28 MB / 1.209 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.5344, allocations: 0.5633 MB / 1.21 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008014/0.5352, allocations: 338.4 kB / 1.21 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007523/0.536, allocations: 389.9 kB / 1.211 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.5362, allocations: 24 kB / 1.211 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009965/0.5372, allocations: 363.6 kB / 1.211 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002791/0.5375, allocations: 195.1 kB / 1.211 GB, free: 8.789 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006177/0.5381, allocations: 466.9 kB / 1.212 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.5397, allocations: 1.169 MB / 1.213 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5397, allocations: 0 / 1.213 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5397, allocations: 0 / 1.213 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.569e-05/0.5397, allocations: 0 / 1.213 GB, free: 7.152 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.002759/0.5425, allocations: 1.213 MB / 1.214 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.5425, allocations: 15.97 kB / 1.214 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.5437, allocations: 195.4 kB / 1.214 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.545, allocations: 0.7344 MB / 1.215 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.5451, allocations: 62 kB / 1.215 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.5452, allocations: 80 kB / 1.215 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.547, allocations: 0.9223 MB / 1.216 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.5471, allocations: 3.938 kB / 1.216 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.343e-05/0.5472, allocations: 39.94 kB / 1.216 GB, free: 3.766 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.5472, allocations: 20 kB / 1.216 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.549, allocations: 1.108 MB / 1.217 GB, free: 2.637 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.004618/0.5537, allocations: 2.736 MB / 1.22 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5553, allocations: 0.8064 MB / 1.221 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005661/0.5559, allocations: 310.6 kB / 1.221 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.213e-05/0.556, allocations: 36.61 kB / 1.221 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009383/0.5569, allocations: 491.2 kB / 1.221 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 6.272e-06/0.5569, allocations: 3.984 kB / 1.221 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.003311/0.5602, allocations: 1.217 MB / 1.223 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.78e-05/0.5604, allocations: 188.6 kB / 1.223 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00091/0.5613, allocations: 0.6254 MB / 1.223 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/0.5614, allocations: 41.7 kB / 1.223 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003314/0.5617, allocations: 396.3 kB / 1.224 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/0.5619, allocations: 260.2 kB / 1.224 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.5621, allocations: 73.67 kB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5622, allocations: 394.7 kB / 1.224 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.5628, allocations: 265.9 kB / 1.225 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.5635, allocations: 371.1 kB / 1.225 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.5646, allocations: 0.6112 MB / 1.226 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.5646, allocations: 7.938 kB / 1.226 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002042/0.5667, allocations: 0.8605 MB / 1.227 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.5667, allocations: 8 kB / 1.227 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5667, allocations: 0 / 1.227 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.5674, allocations: 84.83 kB / 1.227 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.568, allocations: 163.7 kB / 1.227 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.5703, allocations: 1.532 MB / 1.228 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008471/0.5711, allocations: 99.89 kB / 1.228 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.5712, allocations: 39.97 kB / 1.228 GB, free: 6.648 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.0005089/0.5717, allocations: 269.1 kB / 1.229 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.5719, allocations: 90.84 kB / 1.229 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.5744, allocations: 1.065 MB / 1.23 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.5744, allocations: 11.98 kB / 1.23 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.5744, allocations: 0 / 1.23 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5745, allocations: 3.984 kB / 1.23 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.5757, allocations: 0.8956 MB / 1.231 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.5757, allocations: 0 / 1.231 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005774/0.5763, allocations: 143.8 kB / 1.231 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005354/0.5768, allocations: 84.72 kB / 1.231 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.5769, allocations: 27.97 kB / 1.231 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.5787, allocations: 1.548 MB / 1.232 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.5787, allocations: 3.938 kB / 1.232 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.5808, allocations: 0.924 MB / 1.233 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004407/0.5812, allocations: 283.7 kB / 1.234 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.5814, allocations: 27.98 kB / 1.234 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/0.5821, allocations: 91.03 kB / 1.234 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.5823, allocations: 68.89 kB / 1.234 GB, free: 0.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.973e-05/0.5824, allocations: 31.98 kB / 1.234 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0006513/0.583, allocations: 455 kB / 1.234 GB, free: 416 kB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.583, allocations: 0 / 1.234 GB, free: 416 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009428/0.584, allocations: 327.3 kB / 1.235 GB, free: 88 kB / 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.001492/0.5855, allocations: 0.592 MB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.5873, allocations: 0.8391 MB / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5873, allocations: 0 / 1.236 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009516/0.5882, allocations: 0.5197 MB / 1.236 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/0.5896, allocations: 276.1 kB / 1.237 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.593, allocations: 2.115 MB / 1.239 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.5937, allocations: 1.024 MB / 1.24 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.594, allocations: 111.4 kB / 1.24 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.594, allocations: 0 / 1.24 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of Templates: time 0.5909/1.185, allocations: 18.26 MB / 1.258 GB, free: 188.5 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