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.007356/0.007357, allocations: 100.4 kB / 15.87 MB, free: 5.867 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.001731/0.001731, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.391/1.391, allocations: 222.9 MB / 240.5 MB, free: 4.602 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.614/2.614, allocations: 437 MB / 0.7106 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.89 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7068/0.7084, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007547/0.716, allocations: 5.192 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.8922, allocations: 148.4 MB / 1.167 GB, free: 8.625 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.8935, allocations: 19.88 kB / 1.167 GB, free: 8.605 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009816/0.8945, allocations: 154.8 kB / 1.167 GB, free: 8.453 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.8969, allocations: 493.2 kB / 1.168 GB, free: 7.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.8995, allocations: 0.7535 MB / 1.169 GB, free: 7.227 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.002007/0.9015, allocations: 1.354 MB / 1.17 GB, free: 5.867 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.9027, allocations: 0.6359 MB / 1.171 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008561/0.9035, allocations: 458.1 kB / 1.171 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000764/0.9043, allocations: 0.5133 MB / 1.172 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002939/0.9046, allocations: 64 kB / 1.172 GB, free: 4.18 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.9058, allocations: 423.6 kB / 1.172 GB, free: 3.766 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003802/0.9062, allocations: 262.9 kB / 1.172 GB, free: 3.508 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007791/0.907, allocations: 0.54 MB / 1.173 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.9087, allocations: 1.294 MB / 1.174 GB, free: 1.668 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9087, allocations: 0 / 1.174 GB, free: 1.668 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.222e-06/0.9087, allocations: 0 / 1.174 GB, free: 1.668 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.202e-05/0.9088, allocations: 0 / 1.174 GB, free: 1.668 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.003746/0.9125, allocations: 1.504 MB / 1.175 GB, free: 112 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.9126, allocations: 12.03 kB / 1.175 GB, free: 100 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.9139, allocations: 211.4 kB / 1.176 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.9153, allocations: 0.7731 MB / 1.176 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.168e-05/0.9154, allocations: 70 kB / 1.177 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.9156, allocations: 95.94 kB / 1.177 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.9179, allocations: 1.016 MB / 1.178 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.9179, allocations: 0 / 1.178 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.918, allocations: 39.98 kB / 1.178 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.918, allocations: 24 kB / 1.178 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.9202, allocations: 1.182 MB / 1.179 GB, free: 12.61 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.004777/0.925, allocations: 2.961 MB / 1.182 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.9268, allocations: 0.9195 MB / 1.183 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006252/0.9274, allocations: 310.7 kB / 1.183 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/0.9281, allocations: 470.1 kB / 1.183 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/0.9292, allocations: 0.503 MB / 1.184 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 3.537e-06/0.9293, allocations: 0 / 1.184 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.00355/0.9328, allocations: 1.237 MB / 1.185 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.9329, allocations: 192.6 kB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001034/0.934, allocations: 0.6488 MB / 1.186 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/0.9341, allocations: 41.7 kB / 1.186 GB, free: 5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003894/0.9345, allocations: 428.2 kB / 1.186 GB, free: 4.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.9348, allocations: 256.2 kB / 1.187 GB, free: 4.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003174/0.9351, allocations: 174.4 kB / 1.187 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.9353, allocations: 382.8 kB / 1.187 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006128/0.9359, allocations: 281.8 kB / 1.187 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007138/0.9366, allocations: 375.1 kB / 1.188 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.9379, allocations: 0.6268 MB / 1.188 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.9379, allocations: 0 / 1.188 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002179/0.9401, allocations: 0.88 MB / 1.189 GB, free: 1.574 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.9401, allocations: 8 kB / 1.189 GB, free: 1.566 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.9401, allocations: 4 kB / 1.189 GB, free: 1.562 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.9408, allocations: 88.75 kB / 1.189 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/0.9415, allocations: 163.8 kB / 1.189 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.9438, allocations: 1.525 MB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/0.9448, allocations: 103.3 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.9449, allocations: 39.97 kB / 1.191 GB, free: 15.51 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.0005774/0.9455, allocations: 278.8 kB / 1.191 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002397/0.9457, allocations: 82.97 kB / 1.191 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.9484, allocations: 1.105 MB / 1.192 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.9484, allocations: 11.94 kB / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9484, allocations: 0 / 1.192 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.9484, allocations: 3.984 kB / 1.193 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.9525, allocations: 2.005 MB / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.9525, allocations: 0 / 1.194 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.9531, allocations: 151.8 kB / 1.195 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005285/0.9537, allocations: 84.77 kB / 1.195 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.031e-05/0.9537, allocations: 23.98 kB / 1.195 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00192/0.9557, allocations: 1.552 MB / 1.196 GB, free: 9.992 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9557, allocations: 3.938 kB / 1.196 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.9579, allocations: 1.016 MB / 1.197 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/0.9585, allocations: 279.6 kB / 1.197 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002031/0.9587, allocations: 20 kB / 1.198 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007876/0.9595, allocations: 75.41 kB / 1.198 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.9597, allocations: 68.89 kB / 1.198 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.709e-05/0.9597, allocations: 35.98 kB / 1.198 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007287/0.9605, allocations: 467 kB / 1.198 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9605, allocations: 0 / 1.198 GB, free: 8.016 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001121/0.9616, allocations: 351.1 kB / 1.198 GB, free: 7.672 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.001666/0.9633, allocations: 0.6359 MB / 1.199 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001873/0.9652, allocations: 0.8509 MB / 1.2 GB, free: 6.355 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.9652, allocations: 7.984 kB / 1.2 GB, free: 6.348 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.9662, allocations: 0.5275 MB / 1.2 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.9676, allocations: 276.2 kB / 1.201 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.9713, allocations: 2.222 MB / 1.203 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007722/0.9721, allocations: 1.039 MB / 1.204 GB, free: 2.223 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/0.9725, allocations: 119.4 kB / 1.204 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of SimCode: time 6.41e-07/0.9725, allocations: 0 / 1.204 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of Templates: time 0.0294/1.002, allocations: 19.51 MB / 1.223 GB, free: 14.64 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