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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001232/0.001233, allocations: 104 kB / 16.35 MB, free: 5.824 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.001109/0.001109, allocations: 190.2 kB / 17.29 MB, free: 5.48 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.185/2.185, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.98 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2557, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006366/0.2621, allocations: 4.444 MB / 0.9554 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7345/0.9967, allocations: 150.6 MB / 1.102 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009612/0.9977, allocations: 19.22 kB / 1.103 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006099/0.9983, allocations: 170.9 kB / 1.103 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00186/1, allocations: 0.5067 MB / 1.103 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002303/1.003, allocations: 0.8468 MB / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001866/1.004, allocations: 1.335 MB / 1.105 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/1.005, allocations: 0.7096 MB / 1.106 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008077/1.006, allocations: 0.5009 MB / 1.106 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007347/1.007, allocations: 0.5377 MB / 1.107 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002241/1.007, allocations: 128.4 kB / 1.107 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/1.008, allocations: 496.8 kB / 1.108 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003266/1.009, allocations: 319.7 kB / 1.108 GB, free: 4.691 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006488/1.009, allocations: 0.5888 MB / 1.108 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/1.012, allocations: 1.711 MB / 1.11 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/1.012, allocations: 5.297 kB / 1.11 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.352e-06/1.012, allocations: 0.5 kB / 1.11 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.216e-05/1.012, allocations: 0 / 1.11 GB, free: 4.562 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.003647/1.016, allocations: 1.483 MB / 1.112 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.016, allocations: 10 kB / 1.112 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001745/1.018, allocations: 308.5 kB / 1.112 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001417/1.019, allocations: 0.7865 MB / 1.113 GB, free: 19.36 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.647e-05/1.019, allocations: 76 kB / 1.113 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.019, allocations: 93.14 kB / 1.113 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002201/1.022, allocations: 1.068 MB / 1.114 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/1.022, allocations: 0 / 1.114 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/1.022, allocations: 41.34 kB / 1.114 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/1.022, allocations: 24.56 kB / 1.114 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002633/1.024, allocations: 1.271 MB / 1.115 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004912/1.029, allocations: 2.68 MB / 1.118 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/1.032, allocations: 1.019 MB / 1.119 GB, free: 18.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007892/1.033, allocations: 360.9 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.407e-05/1.033, allocations: 33.83 kB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001109/1.034, allocations: 0.564 MB / 1.12 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.575e-06/1.034, allocations: 0 / 1.12 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.004036/1.038, allocations: 1.377 MB / 1.121 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/1.038, allocations: 195.6 kB / 1.121 GB, free: 17.73 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008996/1.039, allocations: 0.6381 MB / 1.122 GB, free: 17.6 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/1.039, allocations: 44.39 kB / 1.122 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/1.039, allocations: 428.5 kB / 1.122 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/1.04, allocations: 276.8 kB / 1.123 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003335/1.04, allocations: 168.3 kB / 1.123 GB, free: 17.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001804/1.04, allocations: 386.7 kB / 1.123 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007663/1.041, allocations: 323.6 kB / 1.123 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008471/1.042, allocations: 418.2 kB / 1.124 GB, free: 16.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/1.043, allocations: 0.7113 MB / 1.125 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/1.043, allocations: 0 / 1.125 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002471/1.046, allocations: 0.9664 MB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.046, allocations: 10.48 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/1.046, allocations: 0.8438 kB / 1.125 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/1.047, allocations: 83.11 kB / 1.126 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008735/1.047, allocations: 183.7 kB / 1.126 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/1.049, allocations: 1.629 MB / 1.127 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009528/1.05, allocations: 119.2 kB / 1.127 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.462e-05/1.051, allocations: 38.69 kB / 1.127 GB, free: 15.15 MB / 0.8731 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.0005277/1.051, allocations: 274.5 kB / 1.128 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/1.051, allocations: 84.09 kB / 1.128 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002943/1.054, allocations: 1.203 MB / 1.129 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/1.054, allocations: 11.62 kB / 1.129 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/1.054, allocations: 0 / 1.129 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/1.054, allocations: 8.031 kB / 1.129 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/1.06, allocations: 2.15 MB / 1.131 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.06, allocations: 1.203 kB / 1.131 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/1.06, allocations: 173.6 kB / 1.131 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/1.061, allocations: 75.72 kB / 1.131 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.084e-05/1.061, allocations: 29.38 kB / 1.131 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/1.063, allocations: 1.659 MB / 1.133 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.063, allocations: 0 / 1.133 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002921/1.066, allocations: 1.122 MB / 1.134 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/1.067, allocations: 279.4 kB / 1.134 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001496/1.067, allocations: 22.62 kB / 1.134 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007861/1.068, allocations: 83.84 kB / 1.134 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.068, allocations: 73.64 kB / 1.135 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.056e-05/1.068, allocations: 41.91 kB / 1.135 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006554/1.069, allocations: 464.8 kB / 1.135 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 1.135 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001094/1.07, allocations: 335.4 kB / 1.135 GB, free: 12.49 MB / 0.8731 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.001396/1.071, allocations: 0.6085 MB / 1.136 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002237/1.073, allocations: 0.9479 MB / 1.137 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.073, allocations: 0 / 1.137 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/1.075, allocations: 0.5807 MB / 1.137 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/1.076, allocations: 292.9 kB / 1.138 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/1.08, allocations: 1.897 MB / 1.14 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000671/1.081, allocations: 1.049 MB / 1.141 GB, free: 10.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009891/1.082, allocations: 274.9 kB / 1.141 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003089/1.082, allocations: 112 kB / 1.141 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of SimCode: time 9.82e-07/1.082, allocations: 0 / 1.141 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of Templates: time 0.02877/1.111, allocations: 15.47 MB / 1.156 GB, free: 5.305 MB / 0.8731 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 -s gbode -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/jenkins1/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