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.000835/0.0008354, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00496/0.00496, allocations: 168.5 kB / 16.26 MB, free: 6.66 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.428/1.428, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.468/2.468, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003618, allocations: 12 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7826, allocations: 142.4 MB / 0.955 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005364/0.788, allocations: 4.02 MB / 0.959 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1843/0.9723, allocations: 146.7 MB / 1.102 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001344/0.9737, allocations: 15.94 kB / 1.102 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008294/0.9746, allocations: 134.9 kB / 1.102 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.977, allocations: 433.5 kB / 1.103 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.9792, allocations: 0.751 MB / 1.104 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002126/0.9813, allocations: 1.238 MB / 1.105 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.9826, allocations: 0.6661 MB / 1.105 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007221/0.9833, allocations: 346.3 kB / 1.106 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006805/0.984, allocations: 397.6 kB / 1.106 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.9842, allocations: 28 kB / 1.106 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000999/0.9852, allocations: 387.7 kB / 1.107 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000269/0.9855, allocations: 199 kB / 1.107 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005882/0.9861, allocations: 474.7 kB / 1.107 GB, free: 3 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.9882, allocations: 1.565 MB / 1.109 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.9883, allocations: 4 kB / 1.109 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9883, allocations: 0 / 1.109 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.603e-05/0.9883, allocations: 0 / 1.109 GB, free: 1.426 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.002856/0.9912, allocations: 1.256 MB / 1.11 GB, free: 128 kB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.9912, allocations: 12.03 kB / 1.11 GB, free: 116 kB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001329/0.9926, allocations: 223.4 kB / 1.11 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.9939, allocations: 0.7653 MB / 1.111 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.994, allocations: 70 kB / 1.111 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.9942, allocations: 92 kB / 1.111 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/0.9963, allocations: 1.016 MB / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.9963, allocations: 0 / 1.112 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.9964, allocations: 40 kB / 1.112 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.9964, allocations: 27.94 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.9986, allocations: 1.186 MB / 1.113 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004475/1.003, allocations: 2.737 MB / 1.116 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/1.005, allocations: 0.9108 MB / 1.117 GB, free: 8.859 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006021/1.005, allocations: 318.7 kB / 1.117 GB, free: 8.547 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/1.006, allocations: 470.2 kB / 1.118 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009875/1.007, allocations: 0.4991 MB / 1.118 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/1.007, allocations: 4 kB / 1.118 GB, free: 7.473 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003442/1.011, allocations: 1.244 MB / 1.119 GB, free: 6.199 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/1.011, allocations: 188.6 kB / 1.119 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/1.012, allocations: 0.6449 MB / 1.12 GB, free: 5.324 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.817e-05/1.012, allocations: 45.7 kB / 1.12 GB, free: 5.273 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/1.012, allocations: 420.3 kB / 1.121 GB, free: 4.855 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/1.012, allocations: 276.1 kB / 1.121 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/1.013, allocations: 69.67 kB / 1.121 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000165/1.013, allocations: 382.8 kB / 1.121 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/1.013, allocations: 281.8 kB / 1.121 GB, free: 3.848 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/1.014, allocations: 375.1 kB / 1.122 GB, free: 3.469 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/1.015, allocations: 0.6268 MB / 1.122 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.015, allocations: 0 / 1.122 GB, free: 2.836 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002078/1.017, allocations: 0.8877 MB / 1.123 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/1.017, allocations: 5.875 kB / 1.123 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/1.017, allocations: 4 kB / 1.123 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/1.018, allocations: 80.88 kB / 1.123 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/1.019, allocations: 167.8 kB / 1.124 GB, free: 1.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/1.021, allocations: 1.524 MB / 1.125 GB, free: 20 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008268/1.021, allocations: 115.2 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.382e-05/1.022, allocations: 35.97 kB / 1.125 GB, free: 15.87 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.000532/1.022, allocations: 275.2 kB / 1.125 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/1.022, allocations: 86.97 kB / 1.126 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/1.025, allocations: 1.105 MB / 1.127 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/1.025, allocations: 15.94 kB / 1.127 GB, free: 14.38 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.025, allocations: 3.938 kB / 1.127 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.025, allocations: 3.984 kB / 1.127 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004011/1.029, allocations: 2.017 MB / 1.129 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.029, allocations: 0 / 1.129 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/1.03, allocations: 147.8 kB / 1.129 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005584/1.03, allocations: 84.77 kB / 1.129 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-05/1.03, allocations: 27.98 kB / 1.129 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/1.032, allocations: 1.551 MB / 1.13 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.032, allocations: 3.938 kB / 1.13 GB, free: 10.33 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/1.035, allocations: 1.027 MB / 1.131 GB, free: 9.285 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/1.035, allocations: 299.5 kB / 1.132 GB, free: 8.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/1.036, allocations: 16 kB / 1.132 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00082/1.036, allocations: 87.3 kB / 1.132 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.037, allocations: 68.89 kB / 1.132 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.531e-05/1.037, allocations: 35.98 kB / 1.132 GB, free: 8.773 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000735/1.037, allocations: 467 kB / 1.132 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.8e-07/1.037, allocations: 0 / 1.132 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001127/1.039, allocations: 343.1 kB / 1.133 GB, free: 7.988 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.001792/1.04, allocations: 0.6138 MB / 1.133 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001994/1.042, allocations: 0.8625 MB / 1.134 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.042, allocations: 0 / 1.134 GB, free: 6.668 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00099/1.043, allocations: 0.5353 MB / 1.135 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/1.045, allocations: 267.1 kB / 1.135 GB, free: 5.863 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/1.05, allocations: 2.348 MB / 1.137 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008943/1.051, allocations: 1.049 MB / 1.138 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001018/1.052, allocations: 278.6 kB / 1.138 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/1.052, allocations: 107.4 kB / 1.139 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of SimCode: time 3.096e-06/1.052, allocations: 0 / 1.139 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of Templates: time 0.0274/1.079, allocations: 14.54 MB / 1.153 GB, free: 3.656 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