Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_10_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_10_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.001144/0.001144, allocations: 98.88 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.001511/0.001511, allocations: 185.5 kB / 16.92 MB, free: 6.684 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: 223.3 MB / 241 MB, free: 5.348 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.719/2.719, allocations: 437.8 MB / 0.7128 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000461/0.0004611, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7881/0.7886, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006081/0.7947, allocations: 4.753 MB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1744/0.9691, allocations: 146.8 MB / 1.172 GB, free: 7.711 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.9703, allocations: 15.94 kB / 1.172 GB, free: 7.695 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.9709, allocations: 158.8 kB / 1.172 GB, free: 7.539 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001899/0.9728, allocations: 487.8 kB / 1.172 GB, free: 7.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002184/0.975, allocations: 0.7577 MB / 1.173 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001747/0.9767, allocations: 1.362 MB / 1.174 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009964/0.9777, allocations: 0.6125 MB / 1.175 GB, free: 4.309 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.9785, allocations: 374.2 kB / 1.175 GB, free: 3.941 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005402/0.979, allocations: 413.7 kB / 1.176 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.755e-05/0.9791, allocations: 28 kB / 1.176 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009937/0.9801, allocations: 391.6 kB / 1.176 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.9803, allocations: 191.1 kB / 1.176 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005102/0.9809, allocations: 0.4908 MB / 1.177 GB, free: 2.438 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.9824, allocations: 1.266 MB / 1.178 GB, free: 1.168 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.9824, allocations: 4 kB / 1.178 GB, free: 1.164 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9824, allocations: 0 / 1.178 GB, free: 1.164 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.9824, allocations: 0 / 1.178 GB, free: 1.164 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002524/0.985, allocations: 1.268 MB / 1.179 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.985, allocations: 12.03 kB / 1.179 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/0.9862, allocations: 231.2 kB / 1.18 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.9873, allocations: 0.7616 MB / 1.18 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.9874, allocations: 73.98 kB / 1.18 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.9875, allocations: 92 kB / 1.18 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.9894, allocations: 1.024 MB / 1.181 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.9894, allocations: 0 / 1.181 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.521e-05/0.9895, allocations: 40 kB / 1.181 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.9895, allocations: 28 kB / 1.181 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.9915, allocations: 1.182 MB / 1.183 GB, free: 12.33 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.004637/0.9962, allocations: 3.001 MB / 1.186 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.9979, allocations: 0.9118 MB / 1.186 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006086/0.9985, allocations: 322.7 kB / 1.187 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006837/0.9992, allocations: 470.1 kB / 1.187 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/1, allocations: 0.5069 MB / 1.188 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/1, allocations: 0 / 1.188 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003363/1.004, allocations: 1.252 MB / 1.189 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/1.004, allocations: 192.6 kB / 1.189 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/1.005, allocations: 0.6411 MB / 1.19 GB, free: 4.707 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.697e-05/1.005, allocations: 41.7 kB / 1.19 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000349/1.005, allocations: 428.1 kB / 1.19 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/1.005, allocations: 268.2 kB / 1.19 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.005, allocations: 77.67 kB / 1.191 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001768/1.006, allocations: 386.7 kB / 1.191 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/1.006, allocations: 285.8 kB / 1.191 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/1.007, allocations: 379.1 kB / 1.192 GB, free: 2.832 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001175/1.008, allocations: 0.6307 MB / 1.192 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.008, allocations: 4 kB / 1.192 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002064/1.01, allocations: 0.8878 MB / 1.193 GB, free: 1.289 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.01, allocations: 6.188 kB / 1.193 GB, free: 1.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.01, allocations: 4 kB / 1.193 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/1.011, allocations: 80.88 kB / 1.193 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/1.011, allocations: 171.7 kB / 1.193 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/1.014, allocations: 1.532 MB / 1.195 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008532/1.014, allocations: 107.4 kB / 1.195 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/1.015, allocations: 35.98 kB / 1.195 GB, free: 15.22 MB / 0.9512 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.0005624/1.015, allocations: 284.6 kB / 1.195 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/1.015, allocations: 83.03 kB / 1.195 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002498/1.018, allocations: 1.108 MB / 1.196 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.018, allocations: 16.03 kB / 1.196 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/1.018, allocations: 3.984 kB / 1.196 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.018, allocations: 3.984 kB / 1.196 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/1.021, allocations: 2.009 MB / 1.198 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.021, allocations: 0 / 1.198 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006067/1.022, allocations: 147.8 kB / 1.198 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005198/1.022, allocations: 88.77 kB / 1.199 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/1.022, allocations: 23.98 kB / 1.199 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/1.024, allocations: 1.544 MB / 1.2 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/1.024, allocations: 3.938 kB / 1.2 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002217/1.027, allocations: 1.035 MB / 1.201 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004846/1.027, allocations: 295.6 kB / 1.201 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/1.027, allocations: 20 kB / 1.201 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007256/1.028, allocations: 83.92 kB / 1.201 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.028, allocations: 68.91 kB / 1.202 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.84e-05/1.028, allocations: 35.97 kB / 1.202 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0006013/1.029, allocations: 467 kB / 1.202 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.794e-06/1.029, allocations: 0 / 1.202 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001015/1.03, allocations: 355 kB / 1.202 GB, free: 7.32 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.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.001468/1.031, allocations: 0.6374 MB / 1.203 GB, free: 6.859 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001884/1.033, allocations: 0.8587 MB / 1.204 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.033, allocations: 0 / 1.204 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009877/1.034, allocations: 0.5431 MB / 1.204 GB, free: 5.434 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/1.036, allocations: 281.2 kB / 1.205 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/1.039, allocations: 2.246 MB / 1.207 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/1.04, allocations: 1.047 MB / 1.208 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/1.04, allocations: 119.4 kB / 1.208 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of SimCode: time 7.71e-07/1.04, allocations: 0 / 1.208 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of Templates: time 0.03061/1.071, allocations: 19.4 MB / 1.227 GB, free: 14.36 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches