Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007477/0.007477, allocations: 103.3 kB / 15.73 MB, free: 6.043 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.001372/0.001372, allocations: 190.1 kB / 16.67 MB, free: 5.961 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.89 kB / 1.054 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9841/0.9856, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006835/0.9924, allocations: 5.172 MB / 1.213 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1793/1.172, allocations: 150.7 MB / 1.36 GB, free: 1.164 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/1.173, allocations: 19.88 kB / 1.36 GB, free: 1.145 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007365/1.174, allocations: 198.1 kB / 1.36 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00194/1.176, allocations: 0.5627 MB / 1.361 GB, free: 396 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002131/1.178, allocations: 0.861 MB / 1.361 GB, free: 15.53 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001702/1.18, allocations: 1.463 MB / 1.363 GB, free: 14.06 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009543/1.181, allocations: 0.6653 MB / 1.364 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007341/1.182, allocations: 0.5178 MB / 1.364 GB, free: 12.86 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006481/1.182, allocations: 0.5523 MB / 1.365 GB, free: 12.3 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/1.183, allocations: 128 kB / 1.365 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000978/1.184, allocations: 0.4918 MB / 1.365 GB, free: 11.68 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/1.184, allocations: 326.9 kB / 1.366 GB, free: 11.36 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005742/1.184, allocations: 0.6064 MB / 1.366 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/1.186, allocations: 1.758 MB / 1.368 GB, free: 8.992 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.186, allocations: 0 / 1.368 GB, free: 8.992 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.854e-06/1.187, allocations: 0 / 1.368 GB, free: 8.992 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.935e-05/1.187, allocations: 0 / 1.368 GB, free: 8.992 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002599/1.189, allocations: 1.516 MB / 1.369 GB, free: 7.418 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.189, allocations: 8.031 kB / 1.369 GB, free: 7.41 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/1.191, allocations: 303.2 kB / 1.37 GB, free: 7.113 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/1.192, allocations: 0.7811 MB / 1.37 GB, free: 6.289 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.938e-05/1.192, allocations: 70 kB / 1.37 GB, free: 6.219 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/1.192, allocations: 95.98 kB / 1.371 GB, free: 6.125 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/1.194, allocations: 1.074 MB / 1.372 GB, free: 5.016 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/1.194, allocations: 0 / 1.372 GB, free: 5.016 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/1.194, allocations: 40 kB / 1.372 GB, free: 4.977 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/1.194, allocations: 24 kB / 1.372 GB, free: 4.953 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002323/1.197, allocations: 1.276 MB / 1.373 GB, free: 3.676 MB / 1.092 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.004516/1.201, allocations: 2.935 MB / 1.376 GB, free: 0.6133 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/1.204, allocations: 1.042 MB / 1.377 GB, free: 15.55 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007619/1.205, allocations: 358.6 kB / 1.377 GB, free: 15.2 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/1.205, allocations: 32.61 kB / 1.377 GB, free: 15.17 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001072/1.206, allocations: 0.5606 MB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.534e-06/1.206, allocations: 4 kB / 1.378 GB, free: 14.59 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003877/1.21, allocations: 1.384 MB / 1.379 GB, free: 13.18 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.21, allocations: 192.9 kB / 1.379 GB, free: 12.95 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008152/1.211, allocations: 0.6371 MB / 1.38 GB, free: 12.3 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/1.211, allocations: 45.7 kB / 1.38 GB, free: 12.25 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/1.211, allocations: 428.2 kB / 1.38 GB, free: 11.82 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/1.211, allocations: 272.1 kB / 1.381 GB, free: 11.55 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/1.212, allocations: 166.5 kB / 1.381 GB, free: 11.38 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001661/1.212, allocations: 394.7 kB / 1.381 GB, free: 10.99 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007555/1.212, allocations: 317.8 kB / 1.381 GB, free: 10.68 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008411/1.213, allocations: 431 kB / 1.382 GB, free: 10.24 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/1.215, allocations: 0.7101 MB / 1.383 GB, free: 9.523 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.215, allocations: 0 / 1.383 GB, free: 9.523 MB / 1.107 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002436/1.217, allocations: 0.9659 MB / 1.383 GB, free: 8.547 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.217, allocations: 11.94 kB / 1.383 GB, free: 8.535 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/1.217, allocations: 0 / 1.383 GB, free: 8.535 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/1.218, allocations: 84.86 kB / 1.384 GB, free: 8.449 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008149/1.219, allocations: 187.7 kB / 1.384 GB, free: 8.266 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/1.221, allocations: 1.637 MB / 1.385 GB, free: 6.488 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008753/1.222, allocations: 119.2 kB / 1.385 GB, free: 6.371 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/1.222, allocations: 35.97 kB / 1.385 GB, free: 6.336 MB / 1.107 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 (98): * Single equations (assignments): 97 * 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.0005018/1.222, allocations: 275.4 kB / 1.386 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/1.223, allocations: 87.14 kB / 1.386 GB, free: 5.973 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/1.225, allocations: 1.202 MB / 1.387 GB, free: 4.75 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/1.225, allocations: 11.98 kB / 1.387 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.225, allocations: 0 / 1.387 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/1.225, allocations: 3.984 kB / 1.387 GB, free: 4.734 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/1.229, allocations: 2.136 MB / 1.389 GB, free: 2.531 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.229, allocations: 4 kB / 1.389 GB, free: 2.527 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007243/1.23, allocations: 171.8 kB / 1.389 GB, free: 2.359 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/1.23, allocations: 72.8 kB / 1.389 GB, free: 2.285 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.274e-05/1.23, allocations: 27.97 kB / 1.389 GB, free: 2.258 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001821/1.232, allocations: 1.658 MB / 1.391 GB, free: 468 kB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.232, allocations: 3.938 kB / 1.391 GB, free: 464 kB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002504/1.235, allocations: 1.119 MB / 1.392 GB, free: 15.31 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004513/1.235, allocations: 275.7 kB / 1.392 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/1.235, allocations: 23.92 kB / 1.392 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/1.236, allocations: 79.92 kB / 1.392 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/1.236, allocations: 84.77 kB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/1.236, allocations: 35.97 kB / 1.393 GB, free: 14.8 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005615/1.237, allocations: 471 kB / 1.393 GB, free: 14.35 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/1.237, allocations: 0 / 1.393 GB, free: 14.35 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009594/1.238, allocations: 347.1 kB / 1.393 GB, free: 14.01 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 (97): * Single equations (assignments): 91 * 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.001363/1.239, allocations: 0.6016 MB / 1.394 GB, free: 13.59 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002167/1.242, allocations: 0.9485 MB / 1.395 GB, free: 12.62 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.242, allocations: 4 kB / 1.395 GB, free: 12.62 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001144/1.243, allocations: 0.5861 MB / 1.395 GB, free: 12.02 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/1.244, allocations: 305.1 kB / 1.396 GB, free: 11.74 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003195/1.247, allocations: 1.776 MB / 1.397 GB, free: 9.941 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005674/1.248, allocations: 1.047 MB / 1.398 GB, free: 8.859 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0008082/1.249, allocations: 278.9 kB / 1.399 GB, free: 8.582 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/1.249, allocations: 115.3 kB / 1.399 GB, free: 8.473 MB / 1.123 GB Notification: Performance of SimCode: time 3.31e-07/1.249, allocations: 0 / 1.399 GB, free: 8.473 MB / 1.123 GB Notification: Performance of Templates: time 0.0283/1.277, allocations: 16.36 MB / 1.415 GB, free: 8.312 MB / 1.139 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches