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.001649/0.00165, allocations: 100.1 kB / 15.88 MB, free: 12 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.001983/0.001983, allocations: 196.2 kB / 16.79 MB, free: 6.809 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.613 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.638/2.638, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 67.89 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7389/0.7404, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005444/0.7459, allocations: 4.427 MB / 0.9539 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.157/0.903, allocations: 148.3 MB / 1.099 GB, free: 8.805 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008749/0.9039, allocations: 19.94 kB / 1.099 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007023/0.9046, allocations: 138.9 kB / 1.099 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.9065, allocations: 439.7 kB / 1.099 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.9086, allocations: 0.7373 MB / 1.1 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001538/0.9101, allocations: 1.238 MB / 1.101 GB, free: 6.246 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.9112, allocations: 0.6778 MB / 1.102 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007138/0.9119, allocations: 442.1 kB / 1.102 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.9126, allocations: 0.4898 MB / 1.103 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.9128, allocations: 64 kB / 1.103 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.9138, allocations: 431.6 kB / 1.103 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003077/0.9141, allocations: 255 kB / 1.104 GB, free: 3.879 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005997/0.9147, allocations: 0.5204 MB / 1.104 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.9162, allocations: 1.267 MB / 1.105 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.9162, allocations: 4 kB / 1.105 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9162, allocations: 0 / 1.105 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.604e-05/0.9163, allocations: 0 / 1.105 GB, free: 2.082 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.003075/0.9194, allocations: 1.481 MB / 1.107 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.9194, allocations: 12.03 kB / 1.107 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.9206, allocations: 211.3 kB / 1.107 GB, free: 344 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001179/0.9218, allocations: 0.7616 MB / 1.108 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.9219, allocations: 66 kB / 1.108 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.922, allocations: 95.98 kB / 1.108 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.9238, allocations: 1.02 MB / 1.109 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.9239, allocations: 0 / 1.109 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/0.924, allocations: 40 kB / 1.109 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.924, allocations: 24 kB / 1.109 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.9259, allocations: 1.178 MB / 1.11 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004362/0.9303, allocations: 2.706 MB / 1.113 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.932, allocations: 0.9068 MB / 1.114 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005766/0.9326, allocations: 306.7 kB / 1.114 GB, free: 9.047 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006703/0.9333, allocations: 478.1 kB / 1.114 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009829/0.9343, allocations: 0.5068 MB / 1.115 GB, free: 7.961 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.9343, allocations: 3.938 kB / 1.115 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.00325/0.9376, allocations: 1.221 MB / 1.116 GB, free: 6.707 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.9377, allocations: 196.6 kB / 1.116 GB, free: 6.473 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008137/0.9385, allocations: 0.6333 MB / 1.117 GB, free: 5.836 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.003e-05/0.9386, allocations: 45.7 kB / 1.117 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.9389, allocations: 428.1 kB / 1.117 GB, free: 5.359 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.9391, allocations: 268.1 kB / 1.118 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.9394, allocations: 166.5 kB / 1.118 GB, free: 4.926 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.9396, allocations: 390.8 kB / 1.118 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005816/0.9402, allocations: 273.8 kB / 1.118 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000664/0.9408, allocations: 375.1 kB / 1.119 GB, free: 3.887 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001202/0.9421, allocations: 0.6229 MB / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.9421, allocations: 0 / 1.119 GB, free: 3.254 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002064/0.9441, allocations: 0.8683 MB / 1.12 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9442, allocations: 4 kB / 1.12 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.9442, allocations: 4 kB / 1.12 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006202/0.9448, allocations: 96.72 kB / 1.12 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007042/0.9455, allocations: 163.8 kB / 1.12 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.9476, allocations: 1.511 MB / 1.122 GB, free: 472 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007802/0.9484, allocations: 95.27 kB / 1.122 GB, free: 376 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/0.9485, allocations: 39.97 kB / 1.122 GB, free: 336 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.0004944/0.949, allocations: 283.5 kB / 1.122 GB, free: 44 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.9492, allocations: 87 kB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.9518, allocations: 1.093 MB / 1.123 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.9518, allocations: 11.94 kB / 1.123 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.9518, allocations: 4 kB / 1.123 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.9518, allocations: 3.984 kB / 1.123 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.9554, allocations: 2.001 MB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.9554, allocations: 3.984 kB / 1.125 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006242/0.956, allocations: 151.8 kB / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005415/0.9566, allocations: 84.77 kB / 1.126 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.355e-05/0.9567, allocations: 23.98 kB / 1.126 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001889/0.9586, allocations: 1.544 MB / 1.127 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/0.9586, allocations: 7.875 kB / 1.127 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.9607, allocations: 1.012 MB / 1.128 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.9612, allocations: 275.7 kB / 1.128 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001713/0.9614, allocations: 27.98 kB / 1.128 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007085/0.9621, allocations: 63.94 kB / 1.129 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.9623, allocations: 80.83 kB / 1.129 GB, free: 9.32 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.9623, allocations: 31.97 kB / 1.129 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006496/0.963, allocations: 467 kB / 1.129 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.1e-07/0.963, allocations: 0 / 1.129 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001021/0.964, allocations: 355 kB / 1.129 GB, free: 8.492 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.001596/0.9656, allocations: 0.6153 MB / 1.13 GB, free: 8.051 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001883/0.9675, allocations: 0.8509 MB / 1.131 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9676, allocations: 0 / 1.131 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.9686, allocations: 0.5198 MB / 1.131 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.9699, allocations: 267.6 kB / 1.132 GB, free: 6.402 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.9745, allocations: 2.335 MB / 1.134 GB, free: 4.035 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.9752, allocations: 1.047 MB / 1.135 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003789/0.9756, allocations: 115.4 kB / 1.135 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of SimCode: time 6.61e-07/0.9756, allocations: 0 / 1.135 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of Templates: time 0.02756/1.003, allocations: 19.31 MB / 1.154 GB, free: 15.58 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