Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006826/0.006826, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001642/0.001642, allocations: 192.9 kB / 16.67 MB, free: 5.887 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 / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.59/2.59, allocations: 469.8 MB / 0.7425 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 67.89 kB / 1.065 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9161/0.9175, allocations: 159.1 MB / 1.221 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007066/0.9246, allocations: 5.173 MB / 1.226 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1687/1.093, allocations: 151.1 MB / 1.373 GB, free: 5.219 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009477/1.094, allocations: 19.88 kB / 1.373 GB, free: 5.199 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/1.095, allocations: 210.1 kB / 1.373 GB, free: 4.992 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002293/1.098, allocations: 0.5714 MB / 1.374 GB, free: 4.422 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/1.1, allocations: 0.8634 MB / 1.375 GB, free: 3.562 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001956/1.102, allocations: 1.448 MB / 1.376 GB, free: 2.109 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009366/1.103, allocations: 480.1 kB / 1.377 GB, free: 1.621 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008047/1.104, allocations: 0.5294 MB / 1.377 GB, free: 1.09 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/1.104, allocations: 0.5406 MB / 1.378 GB, free: 0.5469 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/1.104, allocations: 127.9 kB / 1.378 GB, free: 432 kB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009332/1.105, allocations: 0.5074 MB / 1.378 GB, free: 15.91 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002723/1.106, allocations: 323 kB / 1.379 GB, free: 15.6 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/1.106, allocations: 0.5985 MB / 1.379 GB, free: 15 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/1.108, allocations: 1.764 MB / 1.381 GB, free: 13.23 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.108, allocations: 0 / 1.381 GB, free: 13.23 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.974e-06/1.108, allocations: 0 / 1.381 GB, free: 13.23 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.244e-05/1.108, allocations: 0 / 1.381 GB, free: 13.23 MB / 1.107 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.002419/1.11, allocations: 1.545 MB / 1.382 GB, free: 11.62 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.11, allocations: 8.625 kB / 1.383 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/1.111, allocations: 228 kB / 1.383 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/1.113, allocations: 0.7934 MB / 1.383 GB, free: 10.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.123e-05/1.113, allocations: 70 kB / 1.384 GB, free: 10.48 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.113, allocations: 92 kB / 1.384 GB, free: 10.39 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/1.114, allocations: 1.016 MB / 1.385 GB, free: 9.336 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/1.114, allocations: 0 / 1.385 GB, free: 9.336 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.841e-05/1.115, allocations: 43.98 kB / 1.385 GB, free: 9.293 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/1.115, allocations: 24 kB / 1.385 GB, free: 9.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/1.116, allocations: 1.171 MB / 1.386 GB, free: 8.102 MB / 1.107 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.004102/1.12, allocations: 2.946 MB / 1.389 GB, free: 5.023 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001607/1.122, allocations: 0.8703 MB / 1.39 GB, free: 4.133 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/1.123, allocations: 290.6 kB / 1.39 GB, free: 3.848 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006249/1.123, allocations: 470.2 kB / 1.39 GB, free: 3.297 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008615/1.124, allocations: 0.5008 MB / 1.391 GB, free: 2.777 MB / 1.107 GB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/1.124, allocations: 4 kB / 1.391 GB, free: 2.773 MB / 1.107 GB Notification: Performance of matching and sorting (n=82): time 0.003308/1.127, allocations: 1.241 MB / 1.392 GB, free: 1.504 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.128, allocations: 192.6 kB / 1.392 GB, free: 1.273 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007953/1.128, allocations: 0.6411 MB / 1.393 GB, free: 0.625 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/1.128, allocations: 41.7 kB / 1.393 GB, free: 0.5781 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/1.129, allocations: 437 kB / 1.393 GB, free: 148 kB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/1.129, allocations: 277.7 kB / 1.394 GB, free: 15.87 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/1.129, allocations: 166.6 kB / 1.394 GB, free: 15.7 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001777/1.129, allocations: 386.8 kB / 1.394 GB, free: 15.32 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/1.13, allocations: 281.8 kB / 1.394 GB, free: 15.04 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/1.131, allocations: 375.1 kB / 1.395 GB, free: 14.66 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/1.132, allocations: 0.6307 MB / 1.395 GB, free: 14.02 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/1.132, allocations: 0 / 1.395 GB, free: 14.02 MB / 1.123 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001999/1.134, allocations: 0.8803 MB / 1.396 GB, free: 13.13 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.134, allocations: 4 kB / 1.396 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/1.134, allocations: 0 / 1.396 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/1.134, allocations: 88.84 kB / 1.396 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/1.135, allocations: 163.8 kB / 1.396 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/1.137, allocations: 1.635 MB / 1.398 GB, free: 11.09 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/1.138, allocations: 107.5 kB / 1.398 GB, free: 10.99 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/1.138, allocations: 35.97 kB / 1.398 GB, free: 10.95 MB / 1.123 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.0004397/1.139, allocations: 267.4 kB / 1.398 GB, free: 10.68 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/1.139, allocations: 91.44 kB / 1.398 GB, free: 10.59 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/1.141, allocations: 1.097 MB / 1.4 GB, free: 9.477 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.141, allocations: 12 kB / 1.4 GB, free: 9.465 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/1.141, allocations: 0 / 1.4 GB, free: 9.465 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.141, allocations: 11.95 kB / 1.4 GB, free: 9.453 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/1.144, allocations: 1.997 MB / 1.402 GB, free: 7.398 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.144, allocations: 0 / 1.402 GB, free: 7.398 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/1.145, allocations: 151.8 kB / 1.402 GB, free: 7.25 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004418/1.145, allocations: 72.78 kB / 1.402 GB, free: 7.176 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/1.145, allocations: 23.98 kB / 1.402 GB, free: 7.152 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001922/1.147, allocations: 1.666 MB / 1.403 GB, free: 5.344 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.147, allocations: 0 / 1.403 GB, free: 5.344 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/1.149, allocations: 1.026 MB / 1.404 GB, free: 4.297 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/1.15, allocations: 284.2 kB / 1.405 GB, free: 4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/1.15, allocations: 23.94 kB / 1.405 GB, free: 3.977 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000667/1.151, allocations: 67.02 kB / 1.405 GB, free: 3.914 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/1.151, allocations: 72.89 kB / 1.405 GB, free: 3.844 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/1.151, allocations: 35.92 kB / 1.405 GB, free: 3.809 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005774/1.151, allocations: 471 kB / 1.405 GB, free: 3.352 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.151, allocations: 0 / 1.405 GB, free: 3.352 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009197/1.152, allocations: 355.1 kB / 1.406 GB, free: 3.004 MB / 1.123 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.001454/1.154, allocations: 0.6267 MB / 1.406 GB, free: 2.551 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001756/1.156, allocations: 0.8312 MB / 1.407 GB, free: 1.707 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.156, allocations: 3.984 kB / 1.407 GB, free: 1.703 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009238/1.157, allocations: 0.5042 MB / 1.408 GB, free: 1.184 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/1.158, allocations: 314.2 kB / 1.408 GB, free: 0.9023 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/1.161, allocations: 1.736 MB / 1.41 GB, free: 15.14 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007151/1.161, allocations: 1.043 MB / 1.411 GB, free: 14.06 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008548/1.162, allocations: 274.7 kB / 1.411 GB, free: 13.79 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/1.163, allocations: 111.3 kB / 1.411 GB, free: 13.68 MB / 1.139 GB Notification: Performance of SimCode: time 6.82e-07/1.163, allocations: 0 / 1.411 GB, free: 13.68 MB / 1.139 GB Notification: Performance of Templates: time 0.02664/1.189, allocations: 15.99 MB / 1.427 GB, free: 13.87 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches