Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_9_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_9_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.001311/0.001311, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.009071/0.009071, allocations: 173.6 kB / 16.27 MB, free: 6.613 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.44/1.44, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.455/2.455, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004133/0.0004134, allocations: 8 kB / 0.8159 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8631/0.8635, allocations: 142.4 MB / 0.955 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005846/0.8694, allocations: 4.014 MB / 0.959 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.185/1.054, allocations: 146.7 MB / 1.102 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009394/1.055, allocations: 15.94 kB / 1.102 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005824/1.056, allocations: 142.9 kB / 1.102 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/1.058, allocations: 438.7 kB / 1.103 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001947/1.06, allocations: 0.7342 MB / 1.103 GB, free: 6.809 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001378/1.061, allocations: 1.246 MB / 1.105 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009466/1.062, allocations: 0.6716 MB / 1.105 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/1.063, allocations: 346.2 kB / 1.106 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005066/1.063, allocations: 407 kB / 1.106 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.783e-05/1.063, allocations: 28 kB / 1.106 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009914/1.064, allocations: 371.6 kB / 1.106 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000226/1.064, allocations: 191.1 kB / 1.107 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004558/1.065, allocations: 482.7 kB / 1.107 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001705/1.067, allocations: 1.557 MB / 1.109 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.067, allocations: 4 kB / 1.109 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.094e-06/1.067, allocations: 0 / 1.109 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.067, allocations: 0 / 1.109 GB, free: 1.496 MB / 0.8575 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.002469/1.069, allocations: 1.263 MB / 1.11 GB, free: 192 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/1.069, allocations: 8.031 kB / 1.11 GB, free: 184 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/1.071, allocations: 315.3 kB / 1.11 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/1.072, allocations: 0.7692 MB / 1.111 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/1.072, allocations: 70 kB / 1.111 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.072, allocations: 100 kB / 1.111 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001986/1.074, allocations: 1.066 MB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.074, allocations: 0 / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-05/1.074, allocations: 40 kB / 1.112 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/1.074, allocations: 28 kB / 1.112 GB, free: 13.72 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002319/1.077, allocations: 1.28 MB / 1.113 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/1.081, allocations: 2.752 MB / 1.116 GB, free: 9.609 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002669/1.084, allocations: 1.028 MB / 1.117 GB, free: 8.555 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008092/1.085, allocations: 366.6 kB / 1.117 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.812e-05/1.085, allocations: 36.59 kB / 1.118 GB, free: 8.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001151/1.086, allocations: 0.5567 MB / 1.118 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.114e-06/1.086, allocations: 0 / 1.118 GB, free: 7.59 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.004182/1.09, allocations: 1.395 MB / 1.119 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/1.091, allocations: 196.9 kB / 1.12 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/1.091, allocations: 0.6371 MB / 1.12 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/1.092, allocations: 41.7 kB / 1.12 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/1.092, allocations: 424.2 kB / 1.121 GB, free: 4.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/1.092, allocations: 276.1 kB / 1.121 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/1.092, allocations: 65.69 kB / 1.121 GB, free: 4.477 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.092, allocations: 394.7 kB / 1.121 GB, free: 4.082 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/1.093, allocations: 321.8 kB / 1.122 GB, free: 3.766 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/1.094, allocations: 435 kB / 1.122 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/1.096, allocations: 0.7178 MB / 1.123 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.096, allocations: 0 / 1.123 GB, free: 2.602 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002564/1.098, allocations: 0.9774 MB / 1.124 GB, free: 1.609 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.098, allocations: 8 kB / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/1.098, allocations: 0 / 1.124 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000645/1.099, allocations: 88.84 kB / 1.124 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008801/1.1, allocations: 187.8 kB / 1.124 GB, free: 1.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.102, allocations: 1.52 MB / 1.126 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009494/1.103, allocations: 131.3 kB / 1.126 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.16e-05/1.103, allocations: 31.97 kB / 1.126 GB, free: 15.51 MB / 0.8887 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.000544/1.104, allocations: 279.4 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/1.104, allocations: 86.91 kB / 1.126 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/1.107, allocations: 1.222 MB / 1.127 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/1.107, allocations: 12 kB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.107, allocations: 0 / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.107, allocations: 3.984 kB / 1.127 GB, free: 13.89 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/1.111, allocations: 2.152 MB / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.111, allocations: 0 / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007679/1.112, allocations: 175.8 kB / 1.129 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000512/1.112, allocations: 84.72 kB / 1.13 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/1.112, allocations: 31.97 kB / 1.13 GB, free: 11.39 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/1.114, allocations: 1.548 MB / 1.131 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.114, allocations: 0 / 1.131 GB, free: 9.699 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/1.117, allocations: 1.129 MB / 1.132 GB, free: 8.551 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/1.117, allocations: 295.6 kB / 1.132 GB, free: 8.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/1.117, allocations: 19.98 kB / 1.133 GB, free: 8.223 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008588/1.118, allocations: 97.89 kB / 1.133 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/1.118, allocations: 76.89 kB / 1.133 GB, free: 8.055 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/1.119, allocations: 35.97 kB / 1.133 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007516/1.119, allocations: 467 kB / 1.133 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.01e-07/1.119, allocations: 0 / 1.133 GB, free: 7.57 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009857/1.12, allocations: 331.2 kB / 1.133 GB, free: 7.246 MB / 0.8887 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.0015/1.122, allocations: 0.6068 MB / 1.134 GB, free: 6.812 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00238/1.124, allocations: 0.9602 MB / 1.135 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.124, allocations: 0 / 1.135 GB, free: 5.84 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.126, allocations: 0.586 MB / 1.136 GB, free: 5.242 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/1.127, allocations: 272.7 kB / 1.136 GB, free: 4.984 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/1.132, allocations: 2.418 MB / 1.138 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006918/1.133, allocations: 1.057 MB / 1.139 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009975/1.134, allocations: 290.7 kB / 1.14 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/1.134, allocations: 111.4 kB / 1.14 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of SimCode: time 9.42e-07/1.134, allocations: 0 / 1.14 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of Templates: time 0.02709/1.161, allocations: 14.72 MB / 1.154 GB, free: 2.492 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches