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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001485/0.001485, allocations: 108.5 kB / 16.41 MB, free: 6.504 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.001597/0.001597, allocations: 192.3 kB / 17.35 MB, free: 5.762 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.461/1.461, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.668/2.668, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8147/0.816, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.006371/0.8225, allocations: 4.861 MB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1461/0.9686, allocations: 150.6 MB / 1.36 GB, free: 1.582 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007812/0.9694, allocations: 19.88 kB / 1.36 GB, free: 1.562 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007122/0.9701, allocations: 182.3 kB / 1.36 GB, free: 1.383 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.9722, allocations: 0.5469 MB / 1.361 GB, free: 0.8398 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00198/0.9742, allocations: 0.8326 MB / 1.362 GB, free: 12 kB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001706/0.9759, allocations: 1.382 MB / 1.363 GB, free: 14.62 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000952/0.9768, allocations: 0.5831 MB / 1.364 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007379/0.9776, allocations: 482.4 kB / 1.364 GB, free: 13.55 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.9783, allocations: 0.4939 MB / 1.365 GB, free: 13.05 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.9786, allocations: 116 kB / 1.365 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.9796, allocations: 487.6 kB / 1.365 GB, free: 12.46 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003472/0.98, allocations: 291 kB / 1.365 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007936/0.9808, allocations: 0.5557 MB / 1.366 GB, free: 11.62 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.9828, allocations: 1.622 MB / 1.368 GB, free: 9.996 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9829, allocations: 4 kB / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9829, allocations: 0 / 1.368 GB, free: 9.992 MB / 1.092 GB Notification: Performance of Transformations before backend: time 4.614e-05/0.9829, allocations: 0 / 1.368 GB, free: 9.992 MB / 1.092 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.003/0.9859, allocations: 1.422 MB / 1.369 GB, free: 8.516 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.986, allocations: 8.031 kB / 1.369 GB, free: 8.508 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009205/0.9869, allocations: 187.4 kB / 1.369 GB, free: 8.324 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.988, allocations: 0.7578 MB / 1.37 GB, free: 7.527 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.018e-05/0.988, allocations: 62 kB / 1.37 GB, free: 7.465 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.903e-05/0.9882, allocations: 80 kB / 1.37 GB, free: 7.387 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.9897, allocations: 0.9145 MB / 1.371 GB, free: 6.434 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.171e-05/0.9897, allocations: 0 / 1.371 GB, free: 6.434 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/0.9898, allocations: 36 kB / 1.371 GB, free: 6.398 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.9898, allocations: 20 kB / 1.371 GB, free: 6.379 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/0.9915, allocations: 1.104 MB / 1.372 GB, free: 5.273 MB / 1.092 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.003663/0.9952, allocations: 2.673 MB / 1.375 GB, free: 2.484 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.9966, allocations: 0.7979 MB / 1.375 GB, free: 1.68 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005058/0.9971, allocations: 306.6 kB / 1.376 GB, free: 1.375 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 7.452e-05/0.9972, allocations: 32.69 kB / 1.376 GB, free: 1.344 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008108/0.998, allocations: 495.1 kB / 1.376 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of pre-optimization done (n=80): time 3.066e-06/0.998, allocations: 0 / 1.376 GB, free: 0.8398 MB / 1.092 GB Notification: Performance of matching and sorting (n=80): time 0.003127/1.001, allocations: 1.194 MB / 1.377 GB, free: 15.62 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/1.001, allocations: 188.6 kB / 1.378 GB, free: 15.39 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/1.002, allocations: 0.6293 MB / 1.378 GB, free: 14.75 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/1.002, allocations: 41.7 kB / 1.378 GB, free: 14.7 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/1.002, allocations: 404.3 kB / 1.379 GB, free: 14.3 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001823/1.003, allocations: 256.3 kB / 1.379 GB, free: 14.05 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/1.003, allocations: 166.4 kB / 1.379 GB, free: 13.88 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.003, allocations: 394.7 kB / 1.379 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/1.003, allocations: 265.9 kB / 1.38 GB, free: 13.22 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000613/1.004, allocations: 363.1 kB / 1.38 GB, free: 12.86 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/1.005, allocations: 0.6073 MB / 1.381 GB, free: 12.24 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/1.005, allocations: 3.984 kB / 1.381 GB, free: 12.23 MB / 1.107 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00194/1.007, allocations: 0.8527 MB / 1.381 GB, free: 11.37 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.007, allocations: 8 kB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.007, allocations: 4.062 kB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/1.008, allocations: 76.84 kB / 1.382 GB, free: 11.28 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/1.008, allocations: 163.8 kB / 1.382 GB, free: 11.12 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/1.011, allocations: 1.636 MB / 1.383 GB, free: 9.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008089/1.012, allocations: 97.25 kB / 1.383 GB, free: 9.246 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-05/1.012, allocations: 31.98 kB / 1.383 GB, free: 9.215 MB / 1.107 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.000512/1.012, allocations: 271.4 kB / 1.384 GB, free: 8.941 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/1.012, allocations: 82.97 kB / 1.384 GB, free: 8.859 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/1.015, allocations: 1.054 MB / 1.385 GB, free: 7.789 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.378e-05/1.015, allocations: 7.984 kB / 1.385 GB, free: 7.781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.015, allocations: 0 / 1.385 GB, free: 7.781 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/1.015, allocations: 275.7 kB / 1.385 GB, free: 7.492 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.015, allocations: 16 kB / 1.385 GB, free: 7.477 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005929/1.016, allocations: 71.86 kB / 1.385 GB, free: 7.406 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.016, allocations: 72.83 kB / 1.385 GB, free: 7.336 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001891/1.018, allocations: 0.9435 MB / 1.386 GB, free: 6.383 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00216/1.02, allocations: 1.399 MB / 1.387 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000571/1.021, allocations: 351.8 kB / 1.388 GB, free: 4.621 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005154/1.021, allocations: 455 kB / 1.388 GB, free: 4.18 MB / 1.107 GB Notification: Performance of Backend: time 6.21e-07/1.021, allocations: 0 / 1.388 GB, free: 4.18 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003252/1.025, allocations: 1.255 MB / 1.389 GB, free: 3.145 MB / 1.107 GB Notification: Performance of SimCode: time 0.002893/1.027, allocations: 2.035 MB / 1.391 GB, free: 1.082 MB / 1.107 GB Notification: Performance of Templates: time 0.02857/1.056, allocations: 16.73 MB / 1.408 GB, free: 0.5508 MB / 1.123 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) Reference file matches