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.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.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.000828/0.0008282, allocations: 92.16 kB / 16.02 MB, free: 80 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.00101/0.00101, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.366/1.366, allocations: 223.3 MB / 241 MB, free: 5.328 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.401/2.401, allocations: 390.9 MB / 0.667 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.752/0.7524, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.004305/0.7567, allocations: 4.014 MB / 0.9596 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1705/0.9272, allocations: 146.7 MB / 1.103 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006937/0.928, allocations: 11.94 kB / 1.103 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005143/0.9285, allocations: 138.9 kB / 1.103 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.9298, allocations: 438.2 kB / 1.103 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.9315, allocations: 0.7436 MB / 1.104 GB, free: 6.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001283/0.9328, allocations: 1.238 MB / 1.105 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009467/0.9338, allocations: 0.6661 MB / 1.106 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005351/0.9343, allocations: 346.2 kB / 1.106 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.9348, allocations: 393.7 kB / 1.107 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.9349, allocations: 28 kB / 1.107 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008157/0.9358, allocations: 391.6 kB / 1.107 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.936, allocations: 195 kB / 1.107 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004123/0.9364, allocations: 478.7 kB / 1.108 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.9376, allocations: 1.227 MB / 1.109 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.9376, allocations: 0 / 1.109 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.9376, allocations: 0 / 1.109 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.32e-05/0.9377, allocations: 4 kB / 1.109 GB, free: 1.785 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.002332/0.94, allocations: 1.263 MB / 1.11 GB, free: 488 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.94, allocations: 8.031 kB / 1.11 GB, free: 480 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.9412, allocations: 219.3 kB / 1.11 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.9424, allocations: 0.7654 MB / 1.111 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.503e-05/0.9425, allocations: 70 kB / 1.111 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.9426, allocations: 96 kB / 1.111 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.9445, allocations: 1.02 MB / 1.112 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.9445, allocations: 3.938 kB / 1.112 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.616e-05/0.9446, allocations: 40 kB / 1.112 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.9446, allocations: 24 kB / 1.112 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/0.9467, allocations: 1.186 MB / 1.114 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.9522, allocations: 2.727 MB / 1.116 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002427/0.9547, allocations: 0.9263 MB / 1.117 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008469/0.9556, allocations: 310.7 kB / 1.117 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008425/0.9564, allocations: 478.1 kB / 1.118 GB, free: 8.344 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.9578, allocations: 0.5031 MB / 1.118 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.875e-06/0.9578, allocations: 0 / 1.118 GB, free: 7.82 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.004511/0.9623, allocations: 1.244 MB / 1.12 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001473/0.9625, allocations: 192.6 kB / 1.12 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.9638, allocations: 0.6449 MB / 1.12 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.9639, allocations: 45.69 kB / 1.12 GB, free: 5.617 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005035/0.9644, allocations: 416.3 kB / 1.121 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.9648, allocations: 268.1 kB / 1.121 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.9649, allocations: 73.67 kB / 1.121 GB, free: 4.859 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002643/0.9652, allocations: 386.8 kB / 1.122 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008576/0.9661, allocations: 281.8 kB / 1.122 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009729/0.9671, allocations: 375 kB / 1.122 GB, free: 3.816 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001721/0.9688, allocations: 0.6307 MB / 1.123 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.9688, allocations: 0 / 1.123 GB, free: 3.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002939/0.9718, allocations: 0.88 MB / 1.124 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.9718, allocations: 7.984 kB / 1.124 GB, free: 2.277 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.9718, allocations: 4 kB / 1.124 GB, free: 2.273 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007731/0.9726, allocations: 84.81 kB / 1.124 GB, free: 2.188 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009966/0.9736, allocations: 171.7 kB / 1.124 GB, free: 2.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.9758, allocations: 1.512 MB / 1.125 GB, free: 380 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009174/0.9767, allocations: 107.3 kB / 1.126 GB, free: 272 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.937e-05/0.9768, allocations: 39.97 kB / 1.126 GB, free: 232 kB / 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 (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.0006608/0.9775, allocations: 283.4 kB / 1.126 GB, free: 15.94 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.9777, allocations: 82.97 kB / 1.126 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.9802, allocations: 1.105 MB / 1.127 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.9802, allocations: 15.94 kB / 1.127 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.9802, allocations: 0 / 1.127 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.9803, allocations: 3.984 kB / 1.127 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004788/0.985, allocations: 2.02 MB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.9851, allocations: 3.938 kB / 1.129 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008989/0.986, allocations: 151.8 kB / 1.129 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007214/0.9867, allocations: 84.77 kB / 1.129 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.9868, allocations: 23.98 kB / 1.129 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/0.9895, allocations: 1.548 MB / 1.131 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9895, allocations: 3.938 kB / 1.131 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003092/0.9926, allocations: 1.027 MB / 1.132 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006485/0.9933, allocations: 287.5 kB / 1.132 GB, free: 9.336 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.9935, allocations: 24 kB / 1.132 GB, free: 9.312 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009857/0.9945, allocations: 83.98 kB / 1.132 GB, free: 9.23 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.9947, allocations: 68.91 kB / 1.132 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001056/0.9948, allocations: 39.97 kB / 1.132 GB, free: 9.125 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0008768/0.9957, allocations: 463 kB / 1.133 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9957, allocations: 0 / 1.133 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00136/0.9971, allocations: 351.1 kB / 1.133 GB, free: 8.336 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.002013/0.9991, allocations: 0.6284 MB / 1.134 GB, free: 7.883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002594/1.002, allocations: 0.8587 MB / 1.134 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.002, allocations: 0 / 1.134 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.003, allocations: 0.5354 MB / 1.135 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.005, allocations: 260.6 kB / 1.135 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005059/1.01, allocations: 2.396 MB / 1.138 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005995/1.011, allocations: 1.041 MB / 1.139 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/1.011, allocations: 123.4 kB / 1.139 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of SimCode: time 5.71e-07/1.011, allocations: 0 / 1.139 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of Templates: time 0.02593/1.037, allocations: 19.18 MB / 1.157 GB, free: 15.46 MB / 0.92 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/jenkins1/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