Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001052/0.001052, allocations: 99.34 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.00167/0.00167, allocations: 181.5 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.425/1.425, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.655/2.655, allocations: 437.8 MB / 0.7128 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004762, allocations: 8 kB / 0.8735 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8109/0.8114, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006003/0.8174, allocations: 4.442 MB / 1.028 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.9908, allocations: 146.7 MB / 1.171 GB, free: 8.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.992, allocations: 19.88 kB / 1.171 GB, free: 8.148 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006724/0.9927, allocations: 142.8 kB / 1.171 GB, free: 8.008 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.9944, allocations: 473.7 kB / 1.172 GB, free: 7.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001932/0.9964, allocations: 0.7255 MB / 1.173 GB, free: 6.832 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001464/0.9979, allocations: 1.276 MB / 1.174 GB, free: 5.551 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008427/0.9987, allocations: 0.5517 MB / 1.174 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005907/0.9993, allocations: 346.3 kB / 1.175 GB, free: 4.641 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004938/0.9998, allocations: 389.9 kB / 1.175 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.282e-05/0.9999, allocations: 24 kB / 1.175 GB, free: 4.234 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008454/1.001, allocations: 367.6 kB / 1.175 GB, free: 3.875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/1.001, allocations: 191.1 kB / 1.176 GB, free: 3.688 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003974/1.001, allocations: 470.9 kB / 1.176 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/1.003, allocations: 1.165 MB / 1.177 GB, free: 2.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/1.003, allocations: 4 kB / 1.177 GB, free: 2.047 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.773e-06/1.003, allocations: 0 / 1.177 GB, free: 2.047 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.003, allocations: 4 kB / 1.177 GB, free: 2.043 MB / 0.92 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.002159/1.005, allocations: 1.208 MB / 1.178 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/1.005, allocations: 11.98 kB / 1.178 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008963/1.006, allocations: 195.4 kB / 1.179 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/1.007, allocations: 0.7343 MB / 1.179 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/1.007, allocations: 70 kB / 1.179 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/1.007, allocations: 79.98 kB / 1.179 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/1.008, allocations: 0.9145 MB / 1.18 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/1.008, allocations: 4 kB / 1.18 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.794e-05/1.009, allocations: 39.98 kB / 1.18 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.914e-05/1.009, allocations: 20 kB / 1.18 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001732/1.01, allocations: 1.116 MB / 1.182 GB, free: 13.52 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.00417/1.014, allocations: 2.724 MB / 1.184 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.016, allocations: 0.8058 MB / 1.185 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/1.016, allocations: 310.6 kB / 1.185 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.8e-05/1.017, allocations: 32.69 kB / 1.185 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009179/1.018, allocations: 495.2 kB / 1.186 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=80): time 2.915e-06/1.018, allocations: 0 / 1.186 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=80): time 0.003182/1.021, allocations: 1.209 MB / 1.187 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/1.021, allocations: 196.6 kB / 1.187 GB, free: 7.562 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/1.022, allocations: 0.6292 MB / 1.188 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/1.022, allocations: 45.69 kB / 1.188 GB, free: 6.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/1.022, allocations: 392.3 kB / 1.188 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.022, allocations: 264.2 kB / 1.188 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/1.022, allocations: 69.69 kB / 1.188 GB, free: 6.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.023, allocations: 390.7 kB / 1.189 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/1.023, allocations: 273.8 kB / 1.189 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/1.024, allocations: 363.1 kB / 1.189 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/1.025, allocations: 0.6151 MB / 1.19 GB, free: 4.492 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.025, allocations: 4 kB / 1.19 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001948/1.027, allocations: 0.8644 MB / 1.191 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/1.027, allocations: 5.875 kB / 1.191 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.027, allocations: 4 kB / 1.191 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005975/1.027, allocations: 84.83 kB / 1.191 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006352/1.028, allocations: 167.7 kB / 1.191 GB, free: 3.359 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/1.03, allocations: 1.516 MB / 1.193 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008421/1.031, allocations: 111.2 kB / 1.193 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.773e-05/1.031, allocations: 44.03 kB / 1.193 GB, free: 1.547 MB / 0.9356 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.0004709/1.032, allocations: 260 kB / 1.193 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/1.032, allocations: 83 kB / 1.193 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/1.034, allocations: 1.073 MB / 1.194 GB, free: 116 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/1.034, allocations: 12.08 kB / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/1.034, allocations: 0 / 1.194 GB, free: 104 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/1.034, allocations: 3.984 kB / 1.194 GB, free: 100 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/1.035, allocations: 0.8957 MB / 1.195 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/1.035, allocations: 0 / 1.195 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/1.036, allocations: 143.8 kB / 1.195 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005828/1.037, allocations: 88.7 kB / 1.195 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/1.037, allocations: 23.98 kB / 1.195 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/1.039, allocations: 1.548 MB / 1.197 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.039, allocations: 7.922 kB / 1.197 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/1.041, allocations: 0.924 MB / 1.198 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/1.041, allocations: 283.7 kB / 1.198 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/1.041, allocations: 20 kB / 1.198 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/1.042, allocations: 88.92 kB / 1.198 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.042, allocations: 68.84 kB / 1.198 GB, free: 11.79 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/1.042, allocations: 43.97 kB / 1.198 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006443/1.043, allocations: 455 kB / 1.199 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/1.043, allocations: 0 / 1.199 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009984/1.044, allocations: 315.3 kB / 1.199 GB, free: 11 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.00152/1.045, allocations: 0.611 MB / 1.2 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001899/1.047, allocations: 0.839 MB / 1.2 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.047, allocations: 0 / 1.2 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.048, allocations: 0.5198 MB / 1.201 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/1.05, allocations: 282 kB / 1.201 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/1.054, allocations: 2.107 MB / 1.203 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/1.055, allocations: 1.02 MB / 1.204 GB, free: 5.719 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/1.055, allocations: 119.4 kB / 1.204 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of SimCode: time 1.624e-06/1.055, allocations: 0 / 1.204 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of Templates: time 0.02916/1.084, allocations: 18.28 MB / 1.222 GB, free: 3.398 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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