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.001617/0.001617, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001981/0.001981, allocations: 188.2 kB / 16.25 MB, free: 6.637 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.456/2.456, allocations: 390.2 MB / 0.6643 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 63.89 kB / 0.812 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8221, allocations: 140.4 MB / 0.9491 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006337/0.8285, allocations: 4.437 MB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1851/1.014, allocations: 148.4 MB / 1.098 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/1.015, allocations: 19.88 kB / 1.098 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008733/1.016, allocations: 138.9 kB / 1.099 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002391/1.018, allocations: 457.7 kB / 1.099 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/1.021, allocations: 0.7638 MB / 1.1 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00194/1.023, allocations: 1.328 MB / 1.101 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/1.024, allocations: 0.7024 MB / 1.102 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009005/1.025, allocations: 0.4943 MB / 1.102 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008347/1.026, allocations: 0.5289 MB / 1.103 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003297/1.026, allocations: 124 kB / 1.103 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/1.027, allocations: 491.6 kB / 1.103 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004159/1.028, allocations: 315 kB / 1.104 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008196/1.029, allocations: 0.5868 MB / 1.104 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00263/1.031, allocations: 1.678 MB / 1.106 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.031, allocations: 0 / 1.106 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/1.031, allocations: 0 / 1.106 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.067e-05/1.031, allocations: 0 / 1.106 GB, free: 1.094 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.003256/1.035, allocations: 1.485 MB / 1.107 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/1.035, allocations: 8.031 kB / 1.107 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/1.036, allocations: 215.3 kB / 1.107 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/1.037, allocations: 0.7577 MB / 1.108 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.488e-05/1.037, allocations: 70 kB / 1.108 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/1.037, allocations: 92 kB / 1.108 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/1.039, allocations: 1.016 MB / 1.109 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/1.039, allocations: 11.94 kB / 1.109 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/1.039, allocations: 36 kB / 1.109 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.096e-05/1.039, allocations: 24 kB / 1.109 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001894/1.041, allocations: 1.182 MB / 1.111 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/1.045, allocations: 2.695 MB / 1.113 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001729/1.047, allocations: 0.9068 MB / 1.114 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006913/1.048, allocations: 310.7 kB / 1.114 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007154/1.049, allocations: 474.1 kB / 1.115 GB, free: 7.508 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001106/1.05, allocations: 0.503 MB / 1.115 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.916e-06/1.05, allocations: 0 / 1.115 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003462/1.053, allocations: 1.229 MB / 1.116 GB, free: 5.727 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/1.053, allocations: 192.6 kB / 1.117 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008548/1.054, allocations: 0.6372 MB / 1.117 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.771e-05/1.054, allocations: 45.69 kB / 1.117 GB, free: 4.801 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/1.055, allocations: 424.2 kB / 1.118 GB, free: 4.379 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002331/1.055, allocations: 268.1 kB / 1.118 GB, free: 4.113 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002841/1.055, allocations: 170.5 kB / 1.118 GB, free: 3.941 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.055, allocations: 390.7 kB / 1.119 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/1.056, allocations: 277.8 kB / 1.119 GB, free: 3.277 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/1.057, allocations: 375 kB / 1.119 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/1.058, allocations: 0.6151 MB / 1.12 GB, free: 2.27 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/1.058, allocations: 4 kB / 1.12 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001997/1.06, allocations: 0.8683 MB / 1.121 GB, free: 1.387 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.06, allocations: 4 kB / 1.121 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/1.06, allocations: 4 kB / 1.121 GB, free: 1.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/1.061, allocations: 88.78 kB / 1.121 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/1.061, allocations: 171.7 kB / 1.121 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/1.064, allocations: 1.626 MB / 1.122 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/1.065, allocations: 103.2 kB / 1.123 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.452e-05/1.065, allocations: 39.97 kB / 1.123 GB, free: 15.21 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.0004704/1.065, allocations: 267.6 kB / 1.123 GB, free: 14.94 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/1.065, allocations: 86.95 kB / 1.123 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/1.068, allocations: 1.105 MB / 1.124 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.068, allocations: 12 kB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/1.068, allocations: 0 / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.068, allocations: 3.984 kB / 1.124 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/1.071, allocations: 2.009 MB / 1.126 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.071, allocations: 0 / 1.126 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/1.072, allocations: 155.8 kB / 1.126 GB, free: 11.5 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004302/1.072, allocations: 64.8 kB / 1.126 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.767e-05/1.073, allocations: 31.97 kB / 1.126 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/1.074, allocations: 1.658 MB / 1.128 GB, free: 9.602 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.074, allocations: 4.062 kB / 1.128 GB, free: 9.598 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/1.077, allocations: 1.023 MB / 1.129 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/1.077, allocations: 271.7 kB / 1.129 GB, free: 8.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/1.077, allocations: 23.94 kB / 1.129 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006702/1.078, allocations: 63.94 kB / 1.129 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/1.078, allocations: 72.89 kB / 1.129 GB, free: 8.109 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/1.078, allocations: 43.91 kB / 1.129 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005759/1.079, allocations: 467 kB / 1.13 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/1.079, allocations: 0 / 1.13 GB, free: 7.613 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009655/1.08, allocations: 343 kB / 1.13 GB, free: 7.277 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.001542/1.081, allocations: 0.6156 MB / 1.131 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002484/1.084, allocations: 1.058 MB / 1.132 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/1.084, allocations: 0 / 1.132 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/1.085, allocations: 0.5237 MB / 1.132 GB, free: 5.23 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/1.086, allocations: 290.2 kB / 1.133 GB, free: 4.973 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004238/1.09, allocations: 2.295 MB / 1.135 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005762/1.091, allocations: 1.047 MB / 1.136 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008988/1.092, allocations: 262.7 kB / 1.136 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/1.092, allocations: 111.4 kB / 1.136 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of SimCode: time 6.31e-07/1.092, allocations: 0 / 1.136 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of Templates: time 0.02395/1.116, allocations: 15.16 MB / 1.151 GB, free: 2.203 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