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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002126/0.002126, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002566/0.002566, allocations: 197 kB / 16.14 MB, free: 6.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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.761/2.761, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 71.89 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8073/0.8093, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008242/0.8176, allocations: 5.188 MB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2259/1.043, allocations: 148.4 MB / 1.167 GB, free: 8.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/1.045, allocations: 23.88 kB / 1.167 GB, free: 8.574 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007289/1.046, allocations: 158.8 kB / 1.167 GB, free: 8.418 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002045/1.048, allocations: 489.1 kB / 1.167 GB, free: 7.941 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002331/1.05, allocations: 0.7472 MB / 1.168 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001895/1.052, allocations: 1.354 MB / 1.169 GB, free: 5.84 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/1.053, allocations: 0.6354 MB / 1.17 GB, free: 5.18 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008097/1.054, allocations: 466.1 kB / 1.17 GB, free: 4.723 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000706/1.055, allocations: 0.5055 MB / 1.171 GB, free: 4.215 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/1.055, allocations: 68 kB / 1.171 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/1.056, allocations: 427.6 kB / 1.171 GB, free: 3.73 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/1.056, allocations: 258.9 kB / 1.172 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006466/1.057, allocations: 0.54 MB / 1.172 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/1.059, allocations: 1.671 MB / 1.174 GB, free: 1.258 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.059, allocations: 0 / 1.174 GB, free: 1.258 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/1.059, allocations: 0 / 1.174 GB, free: 1.258 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.465e-05/1.059, allocations: 0 / 1.174 GB, free: 1.258 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.003284/1.062, allocations: 1.496 MB / 1.175 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.062, allocations: 12.03 kB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.064, allocations: 215.3 kB / 1.175 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/1.065, allocations: 0.7616 MB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/1.065, allocations: 74 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/1.065, allocations: 88 kB / 1.176 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/1.067, allocations: 1.016 MB / 1.177 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/1.067, allocations: 3.938 kB / 1.177 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/1.067, allocations: 47.94 kB / 1.177 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/1.067, allocations: 28 kB / 1.177 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/1.069, allocations: 1.182 MB / 1.179 GB, free: 12.2 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.005172/1.075, allocations: 2.957 MB / 1.181 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/1.076, allocations: 0.9197 MB / 1.182 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/1.077, allocations: 314.7 kB / 1.183 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007907/1.078, allocations: 474.1 kB / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/1.079, allocations: 0.4992 MB / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/1.079, allocations: 0 / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=82): time 0.003682/1.083, allocations: 1.233 MB / 1.185 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/1.083, allocations: 192.6 kB / 1.185 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/1.084, allocations: 0.6488 MB / 1.186 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.166e-05/1.084, allocations: 41.7 kB / 1.186 GB, free: 4.598 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004214/1.085, allocations: 428.2 kB / 1.186 GB, free: 4.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/1.085, allocations: 260.2 kB / 1.186 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002802/1.085, allocations: 170.4 kB / 1.186 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002072/1.085, allocations: 386.8 kB / 1.187 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/1.086, allocations: 281.8 kB / 1.187 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/1.087, allocations: 375 kB / 1.187 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/1.088, allocations: 0.6268 MB / 1.188 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/1.088, allocations: 0 / 1.188 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002191/1.09, allocations: 0.8839 MB / 1.189 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/1.09, allocations: 4 kB / 1.189 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.09, allocations: 8.078 kB / 1.189 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/1.091, allocations: 76.77 kB / 1.189 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007366/1.092, allocations: 175.7 kB / 1.189 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002382/1.094, allocations: 1.52 MB / 1.191 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008305/1.095, allocations: 99.44 kB / 1.191 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.131e-05/1.095, allocations: 35.98 kB / 1.191 GB, free: 15.11 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.0005727/1.095, allocations: 280 kB / 1.191 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/1.096, allocations: 82.97 kB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/1.098, allocations: 1.108 MB / 1.192 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.098, allocations: 15.94 kB / 1.192 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.098, allocations: 0 / 1.192 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/1.098, allocations: 3.984 kB / 1.192 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003816/1.102, allocations: 2.008 MB / 1.194 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.102, allocations: 0 / 1.194 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006635/1.103, allocations: 143.8 kB / 1.194 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005608/1.103, allocations: 84.77 kB / 1.194 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.868e-05/1.104, allocations: 23.98 kB / 1.194 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002199/1.106, allocations: 1.54 MB / 1.196 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.106, allocations: 8 kB / 1.196 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002491/1.108, allocations: 1.019 MB / 1.197 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005219/1.109, allocations: 283.6 kB / 1.197 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.109, allocations: 20 kB / 1.197 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000789/1.11, allocations: 72.8 kB / 1.197 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.11, allocations: 68.91 kB / 1.197 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.829e-05/1.11, allocations: 39.97 kB / 1.197 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007744/1.111, allocations: 463 kB / 1.198 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.111, allocations: 0 / 1.198 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00122/1.112, allocations: 359.1 kB / 1.198 GB, free: 7.262 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.002171/1.114, allocations: 0.6266 MB / 1.199 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002144/1.116, allocations: 0.8587 MB / 1.2 GB, free: 5.945 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.116, allocations: 3.984 kB / 1.2 GB, free: 5.941 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/1.118, allocations: 0.5198 MB / 1.2 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/1.119, allocations: 280.4 kB / 1.2 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/1.123, allocations: 2.177 MB / 1.203 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000913/1.124, allocations: 1.043 MB / 1.204 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001058/1.125, allocations: 282.6 kB / 1.204 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/1.126, allocations: 107.4 kB / 1.204 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of SimCode: time 1.824e-06/1.126, allocations: 0 / 1.204 GB, free: 1.48 MB / 0.9512 GB Notification: Performance of Templates: time 0.03154/1.157, allocations: 15.11 MB / 1.219 GB, free: 2.539 MB / 0.9669 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=400 -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/jenkins/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