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.001472/0.001472, allocations: 101.7 kB / 16.35 MB, free: 5.875 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.001621/0.001621, allocations: 196 kB / 17.3 MB, free: 5.516 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.587/2.587, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.03 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2895, allocations: 153 MB / 1.027 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006528/0.2961, allocations: 4.869 MB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6786/0.9747, allocations: 150.6 MB / 1.179 GB, free: 6.797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000825/0.9756, allocations: 19.5 kB / 1.179 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.9761, allocations: 191.2 kB / 1.179 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.978, allocations: 0.5417 MB / 1.179 GB, free: 6.355 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.9801, allocations: 0.8269 MB / 1.18 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.9819, allocations: 1.381 MB / 1.181 GB, free: 5.035 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.9829, allocations: 0.5795 MB / 1.182 GB, free: 4.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009017/0.9838, allocations: 481.5 kB / 1.182 GB, free: 4.402 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006961/0.9845, allocations: 0.4945 MB / 1.183 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.9847, allocations: 115 kB / 1.183 GB, free: 4.051 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.9859, allocations: 492.7 kB / 1.183 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.9862, allocations: 289.6 kB / 1.184 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.9869, allocations: 0.5551 MB / 1.184 GB, free: 3.234 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002035/0.9889, allocations: 1.621 MB / 1.186 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.9889, allocations: 0 / 1.186 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9889, allocations: 1.438 kB / 1.186 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.72e-05/0.989, allocations: 0 / 1.186 GB, free: 2.074 MB / 0.8887 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.002648/0.9916, allocations: 1.43 MB / 1.187 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.9917, allocations: 9.094 kB / 1.187 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009569/0.9926, allocations: 191 kB / 1.187 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.9939, allocations: 0.7563 MB / 1.188 GB, free: 240 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.429e-05/0.994, allocations: 63.84 kB / 1.188 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.9941, allocations: 77.78 kB / 1.188 GB, free: 184 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.9957, allocations: 0.9149 MB / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.9957, allocations: 1.344 kB / 1.189 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.711e-05/0.9958, allocations: 32 kB / 1.189 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.9958, allocations: 21.09 kB / 1.189 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.9976, allocations: 1.109 MB / 1.19 GB, free: 15.03 MB / 0.9044 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.004011/1.002, allocations: 2.667 MB / 1.193 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/1.003, allocations: 0.7997 MB / 1.194 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004988/1.004, allocations: 298.8 kB / 1.194 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/1.004, allocations: 32.55 kB / 1.194 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008368/1.005, allocations: 499.4 kB / 1.195 GB, free: 12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=80): time 2.615e-06/1.005, allocations: 0 / 1.195 GB, free: 12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=80): time 0.003081/1.008, allocations: 1.196 MB / 1.196 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.008, allocations: 187.2 kB / 1.196 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007342/1.009, allocations: 0.6318 MB / 1.197 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.745e-05/1.009, allocations: 43.2 kB / 1.197 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/1.009, allocations: 390.5 kB / 1.197 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/1.009, allocations: 257.3 kB / 1.197 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002452/1.009, allocations: 167.7 kB / 1.197 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.01, allocations: 392.5 kB / 1.198 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/1.01, allocations: 264.8 kB / 1.198 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/1.011, allocations: 364.3 kB / 1.198 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.012, allocations: 0.6092 MB / 1.199 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/1.012, allocations: 0 / 1.199 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001856/1.014, allocations: 0.8533 MB / 1.2 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.014, allocations: 5.688 kB / 1.2 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.014, allocations: 0 / 1.2 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/1.014, allocations: 85.77 kB / 1.2 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006546/1.015, allocations: 164.4 kB / 1.2 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/1.017, allocations: 1.634 MB / 1.202 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007629/1.018, allocations: 97.36 kB / 1.202 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-05/1.018, allocations: 34.22 kB / 1.202 GB, free: 6.809 MB / 0.9044 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.0004188/1.018, allocations: 274.6 kB / 1.202 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/1.019, allocations: 79.03 kB / 1.202 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/1.021, allocations: 1.058 MB / 1.203 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.021, allocations: 7.562 kB / 1.203 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/1.021, allocations: 6.812 kB / 1.203 GB, free: 5.961 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/1.021, allocations: 11.91 kB / 1.203 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/1.022, allocations: 0.8861 MB / 1.204 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.022, allocations: 0 / 1.204 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/1.023, allocations: 143.2 kB / 1.204 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004277/1.023, allocations: 78.2 kB / 1.204 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/1.023, allocations: 23.28 kB / 1.204 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001921/1.025, allocations: 1.663 MB / 1.206 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.025, allocations: 0 / 1.206 GB, free: 3.562 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.027, allocations: 0.924 MB / 1.207 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/1.027, allocations: 275.1 kB / 1.207 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.027, allocations: 21.86 kB / 1.207 GB, free: 2.812 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/1.028, allocations: 63.47 kB / 1.207 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.028, allocations: 74.3 kB / 1.207 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.409e-05/1.028, allocations: 34.23 kB / 1.207 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006093/1.029, allocations: 457.2 kB / 1.208 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.029, allocations: 0 / 1.208 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0009873/1.03, allocations: 326.2 kB / 1.208 GB, free: 2.375 MB / 0.9044 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.001469/1.031, allocations: 0.594 MB / 1.209 GB, free: 2.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.033, allocations: 0.8294 MB / 1.209 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.033, allocations: 3.188 kB / 1.209 GB, free: 1.656 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0009035/1.034, allocations: 0.5191 MB / 1.21 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/1.035, allocations: 297.4 kB / 1.21 GB, free: 0.9805 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002945/1.038, allocations: 1.631 MB / 1.212 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006612/1.039, allocations: 1.016 MB / 1.213 GB, free: 14.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0008162/1.04, allocations: 266.6 kB / 1.213 GB, free: 14.01 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/1.04, allocations: 115.3 kB / 1.213 GB, free: 13.89 MB / 0.92 GB Notification: Performance of SimCode: time 6.11e-07/1.04, allocations: 0 / 1.213 GB, free: 13.89 MB / 0.92 GB Notification: Performance of Templates: time 0.02585/1.066, allocations: 15.03 MB / 1.228 GB, free: 15.06 MB / 0.9356 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 -s gbode -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) Reference file matches