Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005522/0.005522, allocations: 99.97 kB / 15.73 MB, free: 5.98 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.001148/0.001148, allocations: 190.5 kB / 16.67 MB, free: 5.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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.85/2.85, allocations: 461.9 MB / 0.7347 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.91 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3684, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007009/0.3754, allocations: 5.161 MB / 1.213 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.092/1.467, allocations: 150.7 MB / 1.36 GB, free: 9.012 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/1.468, allocations: 15.75 kB / 1.36 GB, free: 9.008 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009469/1.469, allocations: 198.1 kB / 1.36 GB, free: 8.879 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002723/1.472, allocations: 0.5687 MB / 1.361 GB, free: 8.551 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/1.475, allocations: 0.858 MB / 1.362 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002577/1.478, allocations: 1.461 MB / 1.363 GB, free: 7.352 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/1.479, allocations: 0.6521 MB / 1.364 GB, free: 7.016 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/1.48, allocations: 0.5201 MB / 1.364 GB, free: 6.758 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/1.481, allocations: 0.5521 MB / 1.365 GB, free: 6.461 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002881/1.482, allocations: 125.3 kB / 1.365 GB, free: 6.461 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/1.483, allocations: 0.5051 MB / 1.365 GB, free: 6.348 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/1.483, allocations: 318 kB / 1.366 GB, free: 6.145 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006353/1.484, allocations: 0.6063 MB / 1.366 GB, free: 5.742 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/1.486, allocations: 1.749 MB / 1.368 GB, free: 5.004 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/1.486, allocations: 0 / 1.368 GB, free: 5.004 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.385e-06/1.486, allocations: 0 / 1.368 GB, free: 5.004 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.102e-05/1.486, allocations: 5.062 kB / 1.368 GB, free: 5 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002808/1.489, allocations: 1.505 MB / 1.369 GB, free: 3.984 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/1.489, allocations: 10.22 kB / 1.369 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/1.49, allocations: 217.3 kB / 1.37 GB, free: 3.914 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/1.492, allocations: 0.7855 MB / 1.37 GB, free: 3.406 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/1.492, allocations: 73.73 kB / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.492, allocations: 90.31 kB / 1.37 GB, free: 3.344 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/1.494, allocations: 1.012 MB / 1.371 GB, free: 2.891 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/1.494, allocations: 1.156 kB / 1.371 GB, free: 2.891 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/1.494, allocations: 44.78 kB / 1.372 GB, free: 2.859 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/1.494, allocations: 23.41 kB / 1.372 GB, free: 2.859 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/1.496, allocations: 1.176 MB / 1.373 GB, free: 2.375 MB / 1.061 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.004753/1.5, allocations: 2.93 MB / 1.376 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/1.502, allocations: 0.9134 MB / 1.376 GB, free: 15.5 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006538/1.503, allocations: 320.8 kB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/1.504, allocations: 473.8 kB / 1.377 GB, free: 14.84 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009962/1.505, allocations: 0.4957 MB / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.615e-06/1.505, allocations: 0 / 1.378 GB, free: 14.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=82): time 0.003711/1.508, allocations: 1.235 MB / 1.379 GB, free: 13.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/1.509, allocations: 201 kB / 1.379 GB, free: 13.62 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009648/1.509, allocations: 0.6357 MB / 1.38 GB, free: 13.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.189e-05/1.51, allocations: 43.05 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003608/1.51, allocations: 427.4 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/1.51, allocations: 266.2 kB / 1.38 GB, free: 12.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/1.51, allocations: 168.1 kB / 1.381 GB, free: 12.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.511, allocations: 388.6 kB / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000622/1.511, allocations: 281.9 kB / 1.381 GB, free: 11.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/1.512, allocations: 374.1 kB / 1.382 GB, free: 11.78 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.513, allocations: 0.6259 MB / 1.382 GB, free: 11.45 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.513, allocations: 0 / 1.382 GB, free: 11.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002173/1.516, allocations: 0.8739 MB / 1.383 GB, free: 11 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.516, allocations: 10.69 kB / 1.383 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.516, allocations: 6.094 kB / 1.383 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/1.516, allocations: 81.11 kB / 1.383 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/1.517, allocations: 171.8 kB / 1.383 GB, free: 10.9 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/1.519, allocations: 1.626 MB / 1.385 GB, free: 9.305 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009063/1.52, allocations: 101.2 kB / 1.385 GB, free: 9.242 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-05/1.52, allocations: 43.28 kB / 1.385 GB, free: 9.223 MB / 1.076 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 (96): * Single equations (assignments): 95 * 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.0005353/1.521, allocations: 267.7 kB / 1.385 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/1.521, allocations: 87.12 kB / 1.385 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/1.524, allocations: 1.098 MB / 1.386 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.524, allocations: 9.969 kB / 1.386 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/1.524, allocations: 0 / 1.386 GB, free: 8.352 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/1.524, allocations: 7.984 kB / 1.386 GB, free: 8.344 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/1.528, allocations: 2.002 MB / 1.388 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.528, allocations: 0 / 1.388 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/1.528, allocations: 146.1 kB / 1.389 GB, free: 6.988 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/1.529, allocations: 82.75 kB / 1.389 GB, free: 6.941 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.485e-05/1.529, allocations: 27.97 kB / 1.389 GB, free: 6.922 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/1.531, allocations: 1.653 MB / 1.39 GB, free: 5.309 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/1.531, allocations: 1.438 kB / 1.39 GB, free: 5.309 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002143/1.533, allocations: 1.022 MB / 1.391 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/1.533, allocations: 272.1 kB / 1.392 GB, free: 4.492 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.533, allocations: 25.52 kB / 1.392 GB, free: 4.473 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006616/1.534, allocations: 63.8 kB / 1.392 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.534, allocations: 78.91 kB / 1.392 GB, free: 4.398 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/1.534, allocations: 31.48 kB / 1.392 GB, free: 4.391 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005909/1.535, allocations: 471.6 kB / 1.392 GB, free: 4.125 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.5e-07/1.535, allocations: 0 / 1.392 GB, free: 4.125 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001077/1.536, allocations: 359.2 kB / 1.392 GB, free: 4.016 MB / 1.076 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * 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.001434/1.537, allocations: 0.6208 MB / 1.393 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001881/1.539, allocations: 0.8579 MB / 1.394 GB, free: 3.277 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.539, allocations: 0 / 1.394 GB, free: 3.277 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.54, allocations: 0.538 MB / 1.394 GB, free: 2.969 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.542, allocations: 296.7 kB / 1.395 GB, free: 2.824 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/1.545, allocations: 1.719 MB / 1.396 GB, free: 1.809 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005441/1.545, allocations: 1.055 MB / 1.397 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007991/1.546, allocations: 267.6 kB / 1.398 GB, free: 0.8125 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002583/1.546, allocations: 102.6 kB / 1.398 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of SimCode: time 7.42e-07/1.546, allocations: 0 / 1.398 GB, free: 0.7812 MB / 1.076 GB Notification: Performance of Templates: time 0.02781/1.574, allocations: 16.22 MB / 1.414 GB, free: 3.32 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches