Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyCle.skyCle",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001811/0.001811, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.444/2.444, allocations: 390.2 MB / 0.6642 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 0.8119 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7412, allocations: 140.3 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005708/0.747, allocations: 4.435 MB / 0.9532 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.9253, allocations: 148.3 MB / 1.098 GB, free: 8.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.9265, allocations: 19.94 kB / 1.098 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008249/0.9274, allocations: 130.9 kB / 1.098 GB, free: 8.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.9294, allocations: 434.4 kB / 1.099 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.9317, allocations: 0.7517 MB / 1.099 GB, free: 7.465 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.9335, allocations: 1.238 MB / 1.101 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.9346, allocations: 0.6895 MB / 1.101 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007933/0.9354, allocations: 434.2 kB / 1.102 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006956/0.9361, allocations: 0.4976 MB / 1.102 GB, free: 4.578 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.9363, allocations: 64 kB / 1.102 GB, free: 4.516 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009984/0.9373, allocations: 419.7 kB / 1.103 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003359/0.9377, allocations: 255 kB / 1.103 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008356/0.9385, allocations: 0.5281 MB / 1.103 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.9407, allocations: 1.624 MB / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.9407, allocations: 0 / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.9407, allocations: 0 / 1.105 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.435e-05/0.9408, allocations: 0 / 1.105 GB, free: 1.695 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.003679/0.9444, allocations: 1.477 MB / 1.106 GB, free: 176 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/0.9445, allocations: 8.031 kB / 1.106 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.9458, allocations: 219.3 kB / 1.107 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.947, allocations: 0.7577 MB / 1.107 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.9471, allocations: 73.94 kB / 1.107 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.9472, allocations: 92 kB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.9489, allocations: 1.02 MB / 1.109 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.949, allocations: 4 kB / 1.109 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.909e-05/0.9491, allocations: 40 kB / 1.109 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/0.9491, allocations: 24 kB / 1.109 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.951, allocations: 1.175 MB / 1.11 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/0.9551, allocations: 2.695 MB / 1.112 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.9569, allocations: 0.914 MB / 1.113 GB, free: 8.969 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005654/0.9574, allocations: 310.7 kB / 1.114 GB, free: 8.664 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006787/0.9581, allocations: 474.1 kB / 1.114 GB, free: 8.109 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.9592, allocations: 0.5029 MB / 1.115 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/0.9592, allocations: 0 / 1.115 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003227/0.9624, allocations: 1.221 MB / 1.116 GB, free: 6.336 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.9625, allocations: 196.5 kB / 1.116 GB, free: 6.102 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.9633, allocations: 0.6372 MB / 1.117 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.9634, allocations: 41.7 kB / 1.117 GB, free: 5.414 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.9637, allocations: 428.1 kB / 1.117 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.9639, allocations: 276.1 kB / 1.117 GB, free: 4.715 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.9642, allocations: 166.5 kB / 1.117 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.9644, allocations: 390.7 kB / 1.118 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.965, allocations: 269.8 kB / 1.118 GB, free: 3.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007149/0.9657, allocations: 375.1 kB / 1.118 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.9669, allocations: 0.6228 MB / 1.119 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9669, allocations: 4 kB / 1.119 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002056/0.969, allocations: 0.8721 MB / 1.12 GB, free: 1.992 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.969, allocations: 5.719 kB / 1.12 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.969, allocations: 0 / 1.12 GB, free: 1.988 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.9696, allocations: 84.86 kB / 1.12 GB, free: 1.902 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.9703, allocations: 163.8 kB / 1.12 GB, free: 1.742 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.9723, allocations: 1.528 MB / 1.122 GB, free: 76 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007768/0.9731, allocations: 88.95 kB / 1.122 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.9732, allocations: 39.92 kB / 1.122 GB, free: 15.95 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 (96): * Single equations (assignments): 95 * 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.0004912/0.9737, allocations: 279.4 kB / 1.122 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.9739, allocations: 86.97 kB / 1.122 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/0.9763, allocations: 1.085 MB / 1.123 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.9763, allocations: 15.94 kB / 1.123 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.9763, allocations: 7.984 kB / 1.123 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.9763, allocations: 3.984 kB / 1.123 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.9796, allocations: 2.009 MB / 1.125 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.9796, allocations: 0 / 1.125 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/0.9802, allocations: 155.8 kB / 1.125 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/0.9808, allocations: 84.77 kB / 1.125 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-05/0.9809, allocations: 31.97 kB / 1.125 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001773/0.9826, allocations: 1.536 MB / 1.127 GB, free: 10.44 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.9827, allocations: 3.938 kB / 1.127 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.9847, allocations: 1.016 MB / 1.128 GB, free: 9.398 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003879/0.9851, allocations: 279.6 kB / 1.128 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.9852, allocations: 20 kB / 1.128 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006566/0.9859, allocations: 71.92 kB / 1.128 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.9861, allocations: 68.89 kB / 1.128 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.315e-05/0.9861, allocations: 35.98 kB / 1.128 GB, free: 8.91 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005834/0.9867, allocations: 467 kB / 1.129 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9867, allocations: 0 / 1.129 GB, free: 8.461 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009544/0.9877, allocations: 335.1 kB / 1.129 GB, free: 8.133 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 (93): * Single equations (assignments): 87 * 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.001493/0.9892, allocations: 0.6157 MB / 1.13 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001848/0.9911, allocations: 0.8586 MB / 1.13 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.9911, allocations: 0 / 1.13 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009537/0.992, allocations: 0.5276 MB / 1.131 GB, free: 6.277 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.9932, allocations: 273.7 kB / 1.131 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00419/0.9974, allocations: 2.3 MB / 1.134 GB, free: 3.695 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006017/0.998, allocations: 1.039 MB / 1.135 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009088/0.999, allocations: 274.7 kB / 1.135 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.9992, allocations: 103.4 kB / 1.135 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of SimCode: time 1.041e-06/0.9993, allocations: 0 / 1.135 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of Templates: time 0.02765/1.027, allocations: 14.63 MB / 1.149 GB, free: 3.777 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches