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.001486/0.001486, allocations: 103.5 kB / 16.35 MB, free: 5.879 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.001499/0.001499, allocations: 194.2 kB / 17.3 MB, free: 5.52 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 / 241 MB, free: 15.14 MB / 206.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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 61.81 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2995, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006847/0.3064, allocations: 4.423 MB / 0.9554 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.777/1.083, allocations: 150.6 MB / 1.103 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009958/1.084, allocations: 16.34 kB / 1.103 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006478/1.085, allocations: 176 kB / 1.103 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/1.087, allocations: 0.505 MB / 1.103 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/1.09, allocations: 0.8482 MB / 1.104 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002505/1.093, allocations: 1.335 MB / 1.105 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/1.094, allocations: 0.7001 MB / 1.106 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/1.095, allocations: 0.4974 MB / 1.107 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008398/1.096, allocations: 0.5264 MB / 1.107 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002282/1.096, allocations: 125.6 kB / 1.107 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/1.097, allocations: 0.5079 MB / 1.108 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/1.098, allocations: 320.8 kB / 1.108 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007389/1.099, allocations: 0.5779 MB / 1.109 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/1.102, allocations: 1.707 MB / 1.11 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.102, allocations: 1.25 kB / 1.11 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.204e-06/1.102, allocations: 0 / 1.11 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.659e-05/1.102, allocations: 0.5312 kB / 1.11 GB, free: 4.539 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.00396/1.106, allocations: 1.488 MB / 1.112 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.106, allocations: 8.812 kB / 1.112 GB, free: 19.74 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001316/1.107, allocations: 213.1 kB / 1.112 GB, free: 19.67 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/1.109, allocations: 0.7837 MB / 1.113 GB, free: 19.33 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.183e-05/1.109, allocations: 72.31 kB / 1.113 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/1.109, allocations: 96.94 kB / 1.113 GB, free: 19.32 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/1.111, allocations: 1.014 MB / 1.114 GB, free: 19.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.111, allocations: 5.234 kB / 1.114 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.535e-05/1.111, allocations: 37.84 kB / 1.114 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/1.111, allocations: 22.5 kB / 1.114 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00257/1.114, allocations: 1.18 MB / 1.115 GB, free: 19.14 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005284/1.119, allocations: 2.652 MB / 1.118 GB, free: 18.31 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/1.121, allocations: 0.9134 MB / 1.118 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006059/1.121, allocations: 312.1 kB / 1.119 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007154/1.122, allocations: 475.4 kB / 1.119 GB, free: 17.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009436/1.123, allocations: 0.5007 MB / 1.12 GB, free: 17.62 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/1.123, allocations: 4 kB / 1.12 GB, free: 17.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003446/1.126, allocations: 1.224 MB / 1.121 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.127, allocations: 194.7 kB / 1.121 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.128, allocations: 0.642 MB / 1.122 GB, free: 17.05 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/1.128, allocations: 47.64 kB / 1.122 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/1.128, allocations: 423 kB / 1.122 GB, free: 16.82 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/1.128, allocations: 265.2 kB / 1.122 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/1.129, allocations: 164.2 kB / 1.123 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.129, allocations: 392 kB / 1.123 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005726/1.129, allocations: 277.4 kB / 1.123 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007474/1.13, allocations: 369.7 kB / 1.124 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/1.131, allocations: 0.6194 MB / 1.124 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.131, allocations: 1.203 kB / 1.124 GB, free: 16.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00217/1.134, allocations: 0.8758 MB / 1.125 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/1.134, allocations: 8.719 kB / 1.125 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.134, allocations: 1.438 kB / 1.125 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006238/1.134, allocations: 82.67 kB / 1.125 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007192/1.135, allocations: 169.3 kB / 1.125 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/1.137, allocations: 1.629 MB / 1.127 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/1.138, allocations: 98.56 kB / 1.127 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/1.139, allocations: 40.33 kB / 1.127 GB, free: 14.64 MB / 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.0007457/1.139, allocations: 279.5 kB / 1.127 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/1.14, allocations: 88 kB / 1.127 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/1.142, allocations: 1.086 MB / 1.128 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/1.142, allocations: 9.344 kB / 1.128 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/1.142, allocations: 64 / 1.128 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/1.142, allocations: 10.19 kB / 1.128 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/1.146, allocations: 2.008 MB / 1.13 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/1.146, allocations: 1.031 kB / 1.13 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000638/1.147, allocations: 152.3 kB / 1.131 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/1.147, allocations: 73.06 kB / 1.131 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-05/1.147, allocations: 27.53 kB / 1.131 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/1.149, allocations: 1.663 MB / 1.132 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.149, allocations: 0 / 1.132 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/1.151, allocations: 1.019 MB / 1.133 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004895/1.152, allocations: 274.1 kB / 1.134 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001389/1.152, allocations: 23.06 kB / 1.134 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006639/1.153, allocations: 65.39 kB / 1.134 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/1.153, allocations: 70.23 kB / 1.134 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/1.153, allocations: 35.95 kB / 1.134 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006984/1.154, allocations: 467.5 kB / 1.134 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.21e-07/1.154, allocations: 5.062 kB / 1.134 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001295/1.155, allocations: 343 kB / 1.134 GB, free: 12.01 MB / 0.8731 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.001559/1.157, allocations: 0.6257 MB / 1.135 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002071/1.159, allocations: 0.8521 MB / 1.136 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.159, allocations: 2.219 kB / 1.136 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001012/1.16, allocations: 0.5295 MB / 1.136 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/1.161, allocations: 288.2 kB / 1.137 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/1.165, allocations: 1.828 MB / 1.139 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/1.166, allocations: 1.043 MB / 1.14 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001026/1.167, allocations: 270.3 kB / 1.14 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002919/1.167, allocations: 106.5 kB / 1.14 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of SimCode: time 9.82e-07/1.167, allocations: 5.031 kB / 1.14 GB, free: 9.984 MB / 0.8731 GB Notification: Performance of Templates: time 0.02955/1.197, allocations: 15.24 MB / 1.155 GB, free: 5.281 MB / 0.8731 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 -s cvode -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