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.005303/0.005303, allocations: 99.27 kB / 15.73 MB, free: 5.551 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.001184/0.001184, allocations: 187.6 kB / 16.67 MB, free: 5.473 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.05 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.602/2.602, allocations: 469.8 MB / 0.7425 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8746/0.8758, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007043/0.8829, allocations: 4.862 MB / 1.225 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1695/1.052, allocations: 151 MB / 1.373 GB, free: 5.609 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/1.054, allocations: 19.88 kB / 1.373 GB, free: 5.59 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0009261/1.054, allocations: 186.2 kB / 1.373 GB, free: 5.406 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/1.057, allocations: 0.5521 MB / 1.374 GB, free: 4.855 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/1.059, allocations: 0.8341 MB / 1.374 GB, free: 4.027 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002044/1.061, allocations: 1.378 MB / 1.376 GB, free: 2.645 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007399/1.062, allocations: 404.9 kB / 1.376 GB, free: 2.227 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006155/1.063, allocations: 494.3 kB / 1.377 GB, free: 1.742 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/1.063, allocations: 0.4978 MB / 1.377 GB, free: 1.242 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/1.063, allocations: 116 kB / 1.377 GB, free: 1.129 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009344/1.064, allocations: 479.6 kB / 1.378 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/1.065, allocations: 295 kB / 1.378 GB, free: 380 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004546/1.065, allocations: 0.548 MB / 1.378 GB, free: 15.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00196/1.067, allocations: 1.635 MB / 1.38 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/1.067, allocations: 0 / 1.38 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.743e-06/1.067, allocations: 4 kB / 1.38 GB, free: 14.18 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.337e-05/1.067, allocations: 0 / 1.38 GB, free: 14.18 MB / 1.107 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.00239/1.069, allocations: 1.459 MB / 1.381 GB, free: 12.66 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.069, allocations: 12.02 kB / 1.381 GB, free: 12.65 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009023/1.07, allocations: 192.1 kB / 1.382 GB, free: 12.46 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/1.071, allocations: 0.7623 MB / 1.382 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/1.071, allocations: 62 kB / 1.382 GB, free: 11.6 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/1.072, allocations: 80 kB / 1.383 GB, free: 11.52 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/1.073, allocations: 0.9106 MB / 1.383 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.073, allocations: 0 / 1.383 GB, free: 10.57 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.4e-05/1.073, allocations: 40 kB / 1.383 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/1.073, allocations: 20 kB / 1.383 GB, free: 10.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001676/1.075, allocations: 1.104 MB / 1.385 GB, free: 9.406 MB / 1.107 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.003727/1.079, allocations: 2.686 MB / 1.387 GB, free: 6.602 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/1.08, allocations: 0.755 MB / 1.388 GB, free: 5.848 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/1.08, allocations: 274.6 kB / 1.388 GB, free: 5.57 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.066e-05/1.081, allocations: 28.69 kB / 1.388 GB, free: 5.543 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008153/1.081, allocations: 495.1 kB / 1.389 GB, free: 5.039 MB / 1.107 GB Notification: Performance of pre-optimization done (n=80): time 3.076e-06/1.081, allocations: 11.88 kB / 1.389 GB, free: 5.027 MB / 1.107 GB Notification: Performance of matching and sorting (n=80): time 0.00306/1.084, allocations: 1.194 MB / 1.39 GB, free: 3.809 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.58e-05/1.084, allocations: 192.6 kB / 1.39 GB, free: 3.578 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/1.085, allocations: 0.6293 MB / 1.391 GB, free: 2.941 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/1.085, allocations: 41.69 kB / 1.391 GB, free: 2.895 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/1.086, allocations: 405.1 kB / 1.391 GB, free: 2.492 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/1.086, allocations: 277.6 kB / 1.391 GB, free: 2.219 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/1.086, allocations: 162.6 kB / 1.392 GB, free: 2.055 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001599/1.086, allocations: 390.7 kB / 1.392 GB, free: 1.664 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/1.087, allocations: 273.8 kB / 1.392 GB, free: 1.395 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005844/1.087, allocations: 359.1 kB / 1.392 GB, free: 1.031 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/1.088, allocations: 0.6072 MB / 1.393 GB, free: 424 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.088, allocations: 0 / 1.393 GB, free: 424 kB / 1.107 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001914/1.09, allocations: 0.8609 MB / 1.394 GB, free: 15.54 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.09, allocations: 4 kB / 1.394 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.09, allocations: 0 / 1.394 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006017/1.091, allocations: 80.84 kB / 1.394 GB, free: 15.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/1.091, allocations: 163.7 kB / 1.394 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/1.094, allocations: 1.634 MB / 1.396 GB, free: 13.52 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/1.094, allocations: 99.55 kB / 1.396 GB, free: 13.42 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/1.094, allocations: 39.97 kB / 1.396 GB, free: 13.38 MB / 1.123 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.0004364/1.095, allocations: 263.9 kB / 1.396 GB, free: 13.11 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/1.095, allocations: 83.48 kB / 1.396 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/1.097, allocations: 1.058 MB / 1.397 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.097, allocations: 11.98 kB / 1.397 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.097, allocations: 3.938 kB / 1.397 GB, free: 11.94 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.097, allocations: 3.984 kB / 1.397 GB, free: 11.93 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009982/1.098, allocations: 0.892 MB / 1.398 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.098, allocations: 0 / 1.398 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005572/1.099, allocations: 139.8 kB / 1.398 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/1.099, allocations: 80.72 kB / 1.398 GB, free: 10.77 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/1.099, allocations: 27.92 kB / 1.398 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001812/1.101, allocations: 1.659 MB / 1.4 GB, free: 8.941 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.101, allocations: 64 / 1.4 GB, free: 8.941 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/1.103, allocations: 0.9322 MB / 1.401 GB, free: 7.988 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/1.103, allocations: 276.2 kB / 1.401 GB, free: 7.699 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.104, allocations: 19.94 kB / 1.401 GB, free: 7.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/1.104, allocations: 65.8 kB / 1.401 GB, free: 7.617 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.104, allocations: 64.91 kB / 1.401 GB, free: 7.551 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/1.104, allocations: 47.91 kB / 1.401 GB, free: 7.504 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005492/1.105, allocations: 455 kB / 1.402 GB, free: 7.066 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/1.105, allocations: 0 / 1.402 GB, free: 7.066 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008491/1.106, allocations: 323.2 kB / 1.402 GB, free: 6.75 MB / 1.123 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.001362/1.107, allocations: 0.6044 MB / 1.403 GB, free: 6.32 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001615/1.109, allocations: 0.8 MB / 1.403 GB, free: 5.512 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.109, allocations: 0 / 1.403 GB, free: 5.512 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008838/1.11, allocations: 0.4886 MB / 1.404 GB, free: 5.008 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/1.111, allocations: 319.1 kB / 1.404 GB, free: 4.719 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002934/1.114, allocations: 1.648 MB / 1.406 GB, free: 3.039 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/1.114, allocations: 1.026 MB / 1.407 GB, free: 1.988 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0007748/1.115, allocations: 254.7 kB / 1.407 GB, free: 1.734 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/1.115, allocations: 103.4 kB / 1.407 GB, free: 1.633 MB / 1.123 GB Notification: Performance of SimCode: time 1.143e-06/1.115, allocations: 4 kB / 1.407 GB, free: 1.629 MB / 1.123 GB Notification: Performance of Templates: time 0.02949/1.145, allocations: 15.24 MB / 1.422 GB, free: 2.586 MB / 1.139 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches