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.0009775/0.0009772, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.412/1.412, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.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.463/2.463, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003793/0.0003794, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7328/0.7332, allocations: 142.4 MB / 0.9557 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.004425/0.7376, allocations: 4.017 MB / 0.9596 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.9074, allocations: 146.7 MB / 1.103 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009566/0.9084, allocations: 11.94 kB / 1.103 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006898/0.9091, allocations: 138.9 kB / 1.103 GB, free: 7.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.9109, allocations: 432.9 kB / 1.103 GB, free: 7.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.913, allocations: 0.7348 MB / 1.104 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001725/0.9148, allocations: 1.242 MB / 1.105 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00116/0.9159, allocations: 0.6754 MB / 1.106 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006959/0.9166, allocations: 350.2 kB / 1.106 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006821/0.9173, allocations: 405.6 kB / 1.107 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/0.9175, allocations: 28 kB / 1.107 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009603/0.9185, allocations: 375.6 kB / 1.107 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.9187, allocations: 191.1 kB / 1.107 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.9194, allocations: 478.7 kB / 1.108 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.9211, allocations: 1.231 MB / 1.109 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.9211, allocations: 0 / 1.109 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9211, allocations: 0 / 1.109 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.804e-05/0.9212, allocations: 0 / 1.109 GB, free: 1.836 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.002911/0.9241, allocations: 1.263 MB / 1.11 GB, free: 0.5273 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.9241, allocations: 8.031 kB / 1.11 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.926, allocations: 319.2 kB / 1.111 GB, free: 212 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.9274, allocations: 0.7616 MB / 1.111 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.728e-05/0.9275, allocations: 69.98 kB / 1.111 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/0.9277, allocations: 99.98 kB / 1.111 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.9301, allocations: 1.074 MB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.9301, allocations: 0 / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.9302, allocations: 44 kB / 1.113 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.9302, allocations: 24 kB / 1.113 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002578/0.9328, allocations: 1.28 MB / 1.114 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005258/0.9381, allocations: 2.748 MB / 1.116 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.9409, allocations: 1.032 MB / 1.117 GB, free: 8.891 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008331/0.9418, allocations: 362.6 kB / 1.118 GB, free: 8.535 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-05/0.9419, allocations: 36.59 kB / 1.118 GB, free: 8.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.9431, allocations: 0.5606 MB / 1.118 GB, free: 7.926 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 3.607e-06/0.9431, allocations: 4 kB / 1.118 GB, free: 7.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.004166/0.9473, allocations: 1.391 MB / 1.12 GB, free: 6.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.9474, allocations: 196.9 kB / 1.12 GB, free: 6.266 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.9484, allocations: 0.6371 MB / 1.121 GB, free: 5.625 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.136e-05/0.9485, allocations: 41.7 kB / 1.121 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/0.9489, allocations: 428.2 kB / 1.121 GB, free: 5.152 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002512/0.9492, allocations: 276.1 kB / 1.121 GB, free: 4.879 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.9493, allocations: 65.69 kB / 1.121 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.9495, allocations: 390.7 kB / 1.122 GB, free: 4.418 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/0.9503, allocations: 325.8 kB / 1.122 GB, free: 4.098 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/0.9513, allocations: 423 kB / 1.122 GB, free: 3.672 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.953, allocations: 0.7256 MB / 1.123 GB, free: 2.938 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.953, allocations: 4 kB / 1.123 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002672/0.9557, allocations: 0.9697 MB / 1.124 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.9557, allocations: 4 kB / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.9557, allocations: 0 / 1.124 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.9564, allocations: 88.86 kB / 1.124 GB, free: 1.855 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/0.9573, allocations: 195.7 kB / 1.124 GB, free: 1.664 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.9596, allocations: 1.508 MB / 1.126 GB, free: 16 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.9607, allocations: 127.5 kB / 1.126 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/0.9608, allocations: 35.97 kB / 1.126 GB, free: 15.85 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.0006045/0.9615, allocations: 291.1 kB / 1.126 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/0.9617, allocations: 82.97 kB / 1.126 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003246/0.9649, allocations: 1.222 MB / 1.128 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.9649, allocations: 8 kB / 1.128 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.965, allocations: 0 / 1.128 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.965, allocations: 7.984 kB / 1.128 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004619/0.9696, allocations: 2.152 MB / 1.13 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.9696, allocations: 0 / 1.13 GB, free: 12.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007714/0.9704, allocations: 175.8 kB / 1.13 GB, free: 11.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000543/0.971, allocations: 80.78 kB / 1.13 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.426e-05/0.9711, allocations: 31.97 kB / 1.13 GB, free: 11.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.9731, allocations: 1.548 MB / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9732, allocations: 0 / 1.131 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002701/0.9759, allocations: 1.129 MB / 1.133 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.9765, allocations: 295.6 kB / 1.133 GB, free: 8.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.9767, allocations: 16 kB / 1.133 GB, free: 8.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.9776, allocations: 103.3 kB / 1.133 GB, free: 8.473 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.9778, allocations: 76.89 kB / 1.133 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.15e-05/0.9779, allocations: 35.91 kB / 1.133 GB, free: 8.363 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006915/0.9786, allocations: 467 kB / 1.134 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9786, allocations: 0 / 1.134 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001033/0.9797, allocations: 335.1 kB / 1.134 GB, free: 7.586 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.001559/0.9812, allocations: 0.6025 MB / 1.134 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.9837, allocations: 0.9524 MB / 1.135 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.9837, allocations: 0 / 1.135 GB, free: 6.191 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.985, allocations: 0.5938 MB / 1.136 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.9865, allocations: 273 kB / 1.136 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005189/0.9917, allocations: 2.455 MB / 1.139 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007467/0.9925, allocations: 1.061 MB / 1.14 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/0.9929, allocations: 115.4 kB / 1.14 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of SimCode: time 6.61e-07/0.9929, allocations: 0 / 1.14 GB, free: 1.633 MB / 0.8887 GB Notification: Performance of Templates: time 0.02957/1.023, allocations: 19.38 MB / 1.159 GB, free: 14.3 MB / 0.92 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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