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.001218/0.001218, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001161/0.001161, allocations: 187 kB / 17.34 MB, free: 5.742 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.198/1.198, allocations: 222.9 MB / 241 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.304/2.304, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 67.88 kB / 1.055 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6277, allocations: 157.4 MB / 1.208 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006273/0.634, allocations: 5.174 MB / 1.213 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.145/0.779, allocations: 150.7 MB / 1.361 GB, free: 1.215 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008208/0.7799, allocations: 23.88 kB / 1.361 GB, free: 1.191 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.7807, allocations: 194.1 kB / 1.361 GB, free: 1 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001898/0.7826, allocations: 0.5629 MB / 1.361 GB, free: 448 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.7846, allocations: 0.8631 MB / 1.362 GB, free: 15.58 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001666/0.7862, allocations: 1.456 MB / 1.364 GB, free: 14.12 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.7872, allocations: 0.6576 MB / 1.364 GB, free: 13.44 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008072/0.788, allocations: 0.5294 MB / 1.365 GB, free: 12.9 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000797/0.7889, allocations: 0.5562 MB / 1.365 GB, free: 12.34 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003286/0.7892, allocations: 128 kB / 1.365 GB, free: 12.22 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009891/0.7902, allocations: 499.6 kB / 1.366 GB, free: 11.73 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.7906, allocations: 319 kB / 1.366 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0006485/0.7912, allocations: 0.6141 MB / 1.367 GB, free: 10.8 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.7933, allocations: 1.754 MB / 1.369 GB, free: 9.043 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7933, allocations: 0 / 1.369 GB, free: 9.043 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7933, allocations: 0 / 1.369 GB, free: 9.043 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.582e-05/0.7934, allocations: 0 / 1.369 GB, free: 9.043 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.003016/0.7964, allocations: 1.508 MB / 1.37 GB, free: 7.477 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.7965, allocations: 12.03 kB / 1.37 GB, free: 7.465 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.7981, allocations: 303.2 kB / 1.37 GB, free: 7.168 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.7992, allocations: 0.785 MB / 1.371 GB, free: 6.34 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.403e-05/0.7993, allocations: 74 kB / 1.371 GB, free: 6.266 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.7994, allocations: 95.98 kB / 1.371 GB, free: 6.172 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.8013, allocations: 1.07 MB / 1.372 GB, free: 5.066 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.8014, allocations: 0 / 1.372 GB, free: 5.066 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.011e-05/0.8015, allocations: 40 kB / 1.372 GB, free: 5.027 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.8015, allocations: 24 kB / 1.372 GB, free: 5.004 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.8037, allocations: 1.276 MB / 1.374 GB, free: 3.727 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.004507/0.8082, allocations: 2.939 MB / 1.376 GB, free: 0.6602 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.8108, allocations: 1.028 MB / 1.377 GB, free: 15.61 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.8116, allocations: 366.6 kB / 1.378 GB, free: 15.25 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.336e-05/0.8117, allocations: 32.53 kB / 1.378 GB, free: 15.22 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00109/0.8128, allocations: 0.5644 MB / 1.378 GB, free: 14.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=84): time 2.915e-06/0.8128, allocations: 0 / 1.378 GB, free: 14.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=84): time 0.003928/0.8167, allocations: 1.384 MB / 1.38 GB, free: 13.23 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/0.8169, allocations: 196.9 kB / 1.38 GB, free: 12.99 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008418/0.8177, allocations: 0.6333 MB / 1.381 GB, free: 12.35 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/0.8178, allocations: 41.7 kB / 1.381 GB, free: 12.3 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003487/0.8181, allocations: 432.1 kB / 1.381 GB, free: 11.87 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.8184, allocations: 276.1 kB / 1.381 GB, free: 11.6 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002577/0.8186, allocations: 166.5 kB / 1.381 GB, free: 11.43 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.8188, allocations: 390.7 kB / 1.382 GB, free: 11.04 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/0.8196, allocations: 325.8 kB / 1.382 GB, free: 10.72 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.8205, allocations: 423 kB / 1.383 GB, free: 10.29 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001571/0.822, allocations: 0.7101 MB / 1.383 GB, free: 9.574 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.8221, allocations: 3.938 kB / 1.383 GB, free: 9.57 MB / 1.107 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002452/0.8245, allocations: 0.9659 MB / 1.384 GB, free: 8.594 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.8245, allocations: 4 kB / 1.384 GB, free: 8.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.8246, allocations: 8.094 kB / 1.384 GB, free: 8.582 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/0.8252, allocations: 80.77 kB / 1.384 GB, free: 8.5 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.826, allocations: 187.7 kB / 1.384 GB, free: 8.316 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.8282, allocations: 1.636 MB / 1.386 GB, free: 6.539 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009562/0.8291, allocations: 115.3 kB / 1.386 GB, free: 6.426 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.379e-05/0.8292, allocations: 39.97 kB / 1.386 GB, free: 6.387 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.0005548/0.8298, allocations: 271.4 kB / 1.386 GB, free: 6.113 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/0.8301, allocations: 90.95 kB / 1.387 GB, free: 6.023 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.8331, allocations: 1.194 MB / 1.388 GB, free: 4.809 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.8331, allocations: 12 kB / 1.388 GB, free: 4.797 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8331, allocations: 3.984 kB / 1.388 GB, free: 4.793 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.8331, allocations: 3.984 kB / 1.388 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.8371, allocations: 2.148 MB / 1.39 GB, free: 2.574 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8371, allocations: 0 / 1.39 GB, free: 2.574 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/0.8378, allocations: 171.8 kB / 1.39 GB, free: 2.406 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004232/0.8383, allocations: 68.8 kB / 1.39 GB, free: 2.336 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.572e-05/0.8384, allocations: 39.97 kB / 1.39 GB, free: 2.297 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.8402, allocations: 1.65 MB / 1.392 GB, free: 0.5039 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8403, allocations: 4.031 kB / 1.392 GB, free: 0.5 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.8428, allocations: 1.115 MB / 1.393 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000398/0.8432, allocations: 283.7 kB / 1.393 GB, free: 15.07 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.8434, allocations: 31.92 kB / 1.393 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00079/0.8442, allocations: 75.92 kB / 1.393 GB, free: 14.96 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.8443, allocations: 84.83 kB / 1.393 GB, free: 14.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.24e-05/0.8444, allocations: 39.91 kB / 1.393 GB, free: 14.84 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005786/0.845, allocations: 463 kB / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.845, allocations: 0 / 1.394 GB, free: 14.39 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009409/0.846, allocations: 351.1 kB / 1.394 GB, free: 14.05 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.001337/0.8473, allocations: 0.5934 MB / 1.395 GB, free: 13.64 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002128/0.8494, allocations: 0.9485 MB / 1.396 GB, free: 12.68 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.8495, allocations: 4 kB / 1.396 GB, free: 12.67 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.8506, allocations: 0.5899 MB / 1.396 GB, free: 12.07 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.8519, allocations: 311 kB / 1.396 GB, free: 11.79 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.8551, allocations: 1.816 MB / 1.398 GB, free: 9.938 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.8558, allocations: 1.047 MB / 1.399 GB, free: 8.855 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/0.8561, allocations: 115.4 kB / 1.399 GB, free: 8.746 MB / 1.123 GB Notification: Performance of SimCode: time 3.41e-07/0.8562, allocations: 0 / 1.399 GB, free: 8.746 MB / 1.123 GB Notification: Performance of Templates: time 0.02476/0.8809, allocations: 19.85 MB / 1.419 GB, free: 4.977 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,skyBri.skyBri Variables in the result:skyBri.skyBri,time