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.001555/0.001555, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001566/0.001566, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.266/2.266, allocations: 390.3 MB / 0.6653 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 63.45 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2778, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006861/0.2847, allocations: 4.435 MB / 0.9546 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7726/1.057, allocations: 150.6 MB / 1.102 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009572/1.058, allocations: 18.38 kB / 1.102 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006419/1.059, allocations: 170.1 kB / 1.102 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001949/1.061, allocations: 0.5062 MB / 1.102 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002335/1.063, allocations: 0.852 MB / 1.103 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002058/1.065, allocations: 1.32 MB / 1.104 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/1.067, allocations: 0.6985 MB / 1.105 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009796/1.068, allocations: 0.4985 MB / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008502/1.068, allocations: 0.5251 MB / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/1.069, allocations: 129.1 kB / 1.106 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/1.07, allocations: 490.1 kB / 1.107 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0004029/1.071, allocations: 315.6 kB / 1.107 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008291/1.071, allocations: 0.5806 MB / 1.108 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002972/1.074, allocations: 1.674 MB / 1.109 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/1.074, allocations: 0 / 1.109 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/1.074, allocations: 6 kB / 1.109 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.579e-05/1.074, allocations: 1.062 kB / 1.109 GB, free: 4.504 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.003842/1.078, allocations: 1.481 MB / 1.111 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.078, allocations: 9.891 kB / 1.111 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/1.08, allocations: 213.4 kB / 1.111 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/1.081, allocations: 0.7604 MB / 1.112 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/1.081, allocations: 69.59 kB / 1.112 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.081, allocations: 93.27 kB / 1.112 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/1.083, allocations: 1.014 MB / 1.113 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.083, allocations: 3.984 kB / 1.113 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.954e-05/1.083, allocations: 45.42 kB / 1.113 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/1.083, allocations: 24.39 kB / 1.113 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/1.086, allocations: 1.172 MB / 1.114 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/1.09, allocations: 2.697 MB / 1.117 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/1.092, allocations: 0.908 MB / 1.118 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005722/1.093, allocations: 313.1 kB / 1.118 GB, free: 18.23 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006464/1.093, allocations: 471.3 kB / 1.118 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/1.094, allocations: 0.5 MB / 1.119 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/1.094, allocations: 3.984 kB / 1.119 GB, free: 17.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=82): time 0.003449/1.098, allocations: 1.224 MB / 1.12 GB, free: 17.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/1.098, allocations: 197.6 kB / 1.12 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009386/1.099, allocations: 0.6427 MB / 1.121 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/1.099, allocations: 40.61 kB / 1.121 GB, free: 17.08 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/1.099, allocations: 428 kB / 1.121 GB, free: 16.88 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/1.1, allocations: 266.8 kB / 1.122 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/1.1, allocations: 162.5 kB / 1.122 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000157/1.1, allocations: 393.7 kB / 1.122 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/1.101, allocations: 277.8 kB / 1.122 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/1.101, allocations: 373.7 kB / 1.123 GB, free: 16.33 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.103, allocations: 0.6235 MB / 1.123 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.103, allocations: 0 / 1.123 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002111/1.105, allocations: 0.8675 MB / 1.124 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.105, allocations: 11.38 kB / 1.124 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/1.105, allocations: 1.25 kB / 1.124 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000594/1.105, allocations: 82.81 kB / 1.124 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007159/1.106, allocations: 166.8 kB / 1.124 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/1.108, allocations: 1.627 MB / 1.126 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009602/1.109, allocations: 100.3 kB / 1.126 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.179e-05/1.109, allocations: 42.72 kB / 1.126 GB, free: 14.73 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.0006191/1.11, allocations: 274.2 kB / 1.126 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002185/1.11, allocations: 86.78 kB / 1.126 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.113, allocations: 1.1 MB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.113, allocations: 8.719 kB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/1.113, allocations: 1.281 kB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/1.113, allocations: 4.031 kB / 1.128 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/1.116, allocations: 2.007 MB / 1.129 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/1.116, allocations: 0 / 1.129 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006272/1.117, allocations: 152.3 kB / 1.13 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004364/1.118, allocations: 74.69 kB / 1.13 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.059e-05/1.118, allocations: 23.17 kB / 1.13 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/1.119, allocations: 1.674 MB / 1.131 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.119, allocations: 2.625 kB / 1.131 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002258/1.122, allocations: 1.02 MB / 1.132 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/1.122, allocations: 271.7 kB / 1.133 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001511/1.122, allocations: 20.97 kB / 1.133 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/1.123, allocations: 68.09 kB / 1.133 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/1.123, allocations: 73 kB / 1.133 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/1.123, allocations: 34.72 kB / 1.133 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006599/1.124, allocations: 463.8 kB / 1.133 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.11e-07/1.124, allocations: 0 / 1.133 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00116/1.125, allocations: 350.7 kB / 1.134 GB, free: 12.12 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.001472/1.127, allocations: 0.6297 MB / 1.134 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002738/1.129, allocations: 1.058 MB / 1.135 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.129, allocations: 1.312 kB / 1.135 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009897/1.13, allocations: 0.521 MB / 1.136 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/1.132, allocations: 291 kB / 1.136 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/1.136, allocations: 1.89 MB / 1.138 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/1.137, allocations: 1.042 MB / 1.139 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004273/1.137, allocations: 120.7 kB / 1.139 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of SimCode: time 6.31e-07/1.137, allocations: 0 / 1.139 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of Templates: time 0.02955/1.167, allocations: 19.3 MB / 1.158 GB, free: 3.117 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 -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