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.001575/0.001575, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001825/0.001825, allocations: 194.2 kB / 16.25 MB, free: 6.629 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.551/1.551, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.973/2.973, allocations: 469.8 MB / 0.742 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 69.08 kB / 0.908 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3957, allocations: 159.2 MB / 1.063 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.008389/0.4041, allocations: 4.854 MB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1977/0.6018, allocations: 148.4 MB / 1.213 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.6031, allocations: 19.88 kB / 1.213 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000848/0.604, allocations: 150.9 kB / 1.213 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.6069, allocations: 490 kB / 1.214 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.6089, allocations: 0.7406 MB / 1.214 GB, free: 3.398 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001885/0.6108, allocations: 1.37 MB / 1.216 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009612/0.6118, allocations: 0.5831 MB / 1.216 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007345/0.6125, allocations: 486.3 kB / 1.217 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006123/0.6132, allocations: 497.8 kB / 1.217 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.6133, allocations: 120 kB / 1.217 GB, free: 340 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.6145, allocations: 463.6 kB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003814/0.6149, allocations: 295 kB / 1.218 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0007202/0.6156, allocations: 0.5597 MB / 1.219 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.6187, allocations: 1.573 MB / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6187, allocations: 0 / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 5.48e-06/0.6187, allocations: 0 / 1.22 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.48e-05/0.6187, allocations: 3.938 kB / 1.22 GB, free: 13.45 MB / 0.9825 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.003838/0.6226, allocations: 1.422 MB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6227, allocations: 12.03 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.624, allocations: 183.4 kB / 1.222 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.6256, allocations: 0.7383 MB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.669e-05/0.6257, allocations: 62 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001536/0.6259, allocations: 87.98 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/0.6281, allocations: 0.9105 MB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.6282, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.6283, allocations: 39.98 kB / 1.224 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.6284, allocations: 20 kB / 1.224 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002629/0.631, allocations: 1.104 MB / 1.225 GB, free: 8.738 MB / 0.9825 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.006378/0.6374, allocations: 2.698 MB / 1.227 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.6396, allocations: 0.8025 MB / 1.228 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007986/0.6404, allocations: 302.6 kB / 1.228 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.6405, allocations: 36.67 kB / 1.228 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/0.6418, allocations: 491.2 kB / 1.229 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=80): time 3.396e-06/0.6418, allocations: 3.938 kB / 1.229 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=80): time 0.004633/0.6465, allocations: 1.186 MB / 1.23 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.6467, allocations: 192.6 kB / 1.23 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/0.6476, allocations: 0.6293 MB / 1.231 GB, free: 2.203 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.599e-05/0.6477, allocations: 37.7 kB / 1.231 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003702/0.6481, allocations: 400.3 kB / 1.231 GB, free: 1.762 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.6484, allocations: 256.3 kB / 1.232 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002686/0.6486, allocations: 174.4 kB / 1.232 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.6488, allocations: 386.7 kB / 1.232 GB, free: 0.9414 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.6494, allocations: 273.8 kB / 1.232 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006505/0.65, allocations: 363.1 kB / 1.233 GB, free: 316 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.6512, allocations: 0.6033 MB / 1.233 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.6513, allocations: 0 / 1.233 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002064/0.6533, allocations: 0.8528 MB / 1.234 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.6534, allocations: 8.031 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.6534, allocations: 3.984 kB / 1.234 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/0.654, allocations: 84.72 kB / 1.234 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006727/0.6547, allocations: 163.7 kB / 1.234 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.657, allocations: 1.642 MB / 1.236 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007983/0.6578, allocations: 88.89 kB / 1.236 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.618e-05/0.6579, allocations: 40.03 kB / 1.236 GB, free: 12.66 MB / 0.9981 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.000508/0.6584, allocations: 275.3 kB / 1.236 GB, free: 12.38 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.6586, allocations: 79.06 kB / 1.236 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.6611, allocations: 1.057 MB / 1.237 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.6611, allocations: 12 kB / 1.237 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6611, allocations: 7.875 kB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6612, allocations: 7.969 kB / 1.237 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.6623, allocations: 0.8917 MB / 1.238 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6624, allocations: 0 / 1.238 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/0.663, allocations: 143.8 kB / 1.238 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004786/0.6635, allocations: 68.8 kB / 1.239 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.385e-05/0.6635, allocations: 27.97 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.6657, allocations: 1.654 MB / 1.24 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6657, allocations: 4.062 kB / 1.24 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.6678, allocations: 0.9239 MB / 1.241 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/0.6682, allocations: 275.7 kB / 1.241 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6684, allocations: 16 kB / 1.241 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.669, allocations: 63.88 kB / 1.241 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.6692, allocations: 80.83 kB / 1.241 GB, free: 6.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.367e-05/0.6692, allocations: 35.92 kB / 1.242 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006091/0.6699, allocations: 459 kB / 1.242 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6699, allocations: 0 / 1.242 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008848/0.6708, allocations: 319.2 kB / 1.242 GB, free: 6.027 MB / 0.9981 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.001931/0.6727, allocations: 0.5994 MB / 1.243 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002513/0.6752, allocations: 1.026 MB / 1.244 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.6752, allocations: 4 kB / 1.244 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009557/0.6762, allocations: 0.5199 MB / 1.244 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.6775, allocations: 305.5 kB / 1.245 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.6809, allocations: 2.049 MB / 1.247 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/0.6816, allocations: 1.021 MB / 1.248 GB, free: 0.6328 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009436/0.6825, allocations: 262.7 kB / 1.248 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.6828, allocations: 107.4 kB / 1.248 GB, free: 272 kB / 0.9981 GB Notification: Performance of SimCode: time 9.02e-07/0.6828, allocations: 0 / 1.248 GB, free: 272 kB / 0.9981 GB Notification: Performance of Templates: time 0.6109/1.294, allocations: 14.93 MB / 1.263 GB, free: 183.8 MB / 0.9981 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/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