Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|HDifRoo.H|HDifWal.H|HDifFlo.H",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001678/0.001678, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.507/2.507, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 67.91 kB / 1.055 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6976/0.6989, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006989/0.7059, allocations: 5.965 MB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1517/0.8576, allocations: 150.8 MB / 1.362 GB, free: 400 kB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008809/0.8585, allocations: 19.88 kB / 1.362 GB, free: 380 kB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007889/0.8594, allocations: 229.7 kB / 1.362 GB, free: 148 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.8614, allocations: 0.625 MB / 1.362 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.8635, allocations: 0.8717 MB / 1.363 GB, free: 14.65 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.8652, allocations: 1.658 MB / 1.365 GB, free: 12.99 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001127/0.8663, allocations: 0.8695 MB / 1.366 GB, free: 12.08 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007925/0.8671, allocations: 0.615 MB / 1.366 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006745/0.8678, allocations: 0.6573 MB / 1.367 GB, free: 10.8 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.868, allocations: 156 kB / 1.367 GB, free: 10.65 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008864/0.8689, allocations: 0.5152 MB / 1.368 GB, free: 10.14 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.8692, allocations: 362.9 kB / 1.368 GB, free: 9.781 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005713/0.8698, allocations: 0.7424 MB / 1.369 GB, free: 9.035 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.8716, allocations: 2.036 MB / 1.371 GB, free: 6.992 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.8717, allocations: 4 kB / 1.371 GB, free: 6.988 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.463e-06/0.8717, allocations: 0 / 1.371 GB, free: 6.988 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.8717, allocations: 3.938 kB / 1.371 GB, free: 6.984 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002776/0.8745, allocations: 1.713 MB / 1.372 GB, free: 5.219 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.8745, allocations: 8.031 kB / 1.372 GB, free: 5.211 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009706/0.8755, allocations: 227 kB / 1.373 GB, free: 4.988 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.8766, allocations: 0.8638 MB / 1.373 GB, free: 4.082 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.177e-05/0.8767, allocations: 86.41 kB / 1.373 GB, free: 3.996 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.8768, allocations: 124 kB / 1.374 GB, free: 3.875 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.8788, allocations: 1.198 MB / 1.375 GB, free: 2.613 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.8788, allocations: 0 / 1.375 GB, free: 2.613 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.8789, allocations: 48 kB / 1.375 GB, free: 2.566 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/0.879, allocations: 28 kB / 1.375 GB, free: 2.539 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.8809, allocations: 1.293 MB / 1.376 GB, free: 1.238 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.004537/0.8855, allocations: 3.534 MB / 1.38 GB, free: 13.52 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.8871, allocations: 0.865 MB / 1.38 GB, free: 12.66 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/0.8876, allocations: 326.7 kB / 1.381 GB, free: 12.34 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.958e-05/0.8877, allocations: 40.59 kB / 1.381 GB, free: 12.3 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008583/0.8886, allocations: 0.5158 MB / 1.381 GB, free: 11.77 MB / 1.107 GB Notification: Performance of pre-optimization done (n=87): time 2.534e-06/0.8886, allocations: 0 / 1.381 GB, free: 11.77 MB / 1.107 GB Notification: Performance of matching and sorting (n=87): time 0.003286/0.8919, allocations: 1.278 MB / 1.382 GB, free: 10.46 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.091e-05/0.892, allocations: 192.9 kB / 1.383 GB, free: 10.23 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008383/0.8928, allocations: 0.7391 MB / 1.383 GB, free: 9.48 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.061e-05/0.8929, allocations: 45.7 kB / 1.383 GB, free: 9.43 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.8933, allocations: 0.5154 MB / 1.384 GB, free: 8.906 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.8935, allocations: 287.8 kB / 1.384 GB, free: 8.621 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002516/0.8937, allocations: 170.5 kB / 1.384 GB, free: 8.449 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.8939, allocations: 345.9 kB / 1.385 GB, free: 8.105 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005576/0.8944, allocations: 293.8 kB / 1.385 GB, free: 7.816 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006656/0.8951, allocations: 391.2 kB / 1.385 GB, free: 7.422 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.8963, allocations: 0.6633 MB / 1.386 GB, free: 6.746 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.8963, allocations: 0 / 1.386 GB, free: 6.746 MB / 1.107 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001991/0.8983, allocations: 0.9267 MB / 1.387 GB, free: 5.812 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.8983, allocations: 8 kB / 1.387 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8983, allocations: 0 / 1.387 GB, free: 5.805 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.8989, allocations: 88.8 kB / 1.387 GB, free: 5.715 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/0.8997, allocations: 167.8 kB / 1.387 GB, free: 5.551 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.9018, allocations: 1.63 MB / 1.389 GB, free: 3.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.9026, allocations: 100.9 kB / 1.389 GB, free: 3.672 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.66e-05/0.9027, allocations: 35.97 kB / 1.389 GB, free: 3.637 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 (104): * Single equations (assignments): 103 * 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.0004946/0.9032, allocations: 303.6 kB / 1.389 GB, free: 3.332 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.9034, allocations: 94.88 kB / 1.389 GB, free: 3.238 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002529/0.9059, allocations: 1.122 MB / 1.39 GB, free: 2.102 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.9059, allocations: 11.91 kB / 1.39 GB, free: 2.09 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.906, allocations: 4 kB / 1.39 GB, free: 2.086 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.9064, allocations: 279.6 kB / 1.391 GB, free: 1.793 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.9065, allocations: 23.98 kB / 1.391 GB, free: 1.77 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.9072, allocations: 63.94 kB / 1.391 GB, free: 1.707 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.9074, allocations: 76.83 kB / 1.391 GB, free: 1.633 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002164/0.9096, allocations: 1.002 MB / 1.392 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002429/0.912, allocations: 1.48 MB / 1.393 GB, free: 15.12 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006155/0.9127, allocations: 391.8 kB / 1.394 GB, free: 14.74 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006951/0.9134, allocations: 0.5107 MB / 1.394 GB, free: 14.24 MB / 1.123 GB Notification: Performance of Backend: time 7.01e-07/0.9134, allocations: 0 / 1.394 GB, free: 14.24 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.003452/0.9168, allocations: 1.302 MB / 1.395 GB, free: 13.15 MB / 1.123 GB Notification: Performance of SimCode: time 0.003527/0.9204, allocations: 2.375 MB / 1.398 GB, free: 10.74 MB / 1.123 GB Notification: Performance of Templates: time 0.02898/0.9494, allocations: 18.03 MB / 1.415 GB, free: 8.895 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches