Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|skyBri.skyBri",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 105.7 kB / 16.37 MB, free: 6.48 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.001755/0.001755, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.19 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.24/2.24, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.86 kB / 0.814 GB, free: 32.82 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3181, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.006484/0.3246, allocations: 4.431 MB / 0.9554 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7824/1.107, allocations: 150.6 MB / 1.103 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008376/1.108, allocations: 16.75 kB / 1.103 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005796/1.109, allocations: 175.3 kB / 1.103 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001727/1.11, allocations: 0.5058 MB / 1.103 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/1.112, allocations: 0.8428 MB / 1.104 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001604/1.114, allocations: 1.339 MB / 1.105 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000967/1.115, allocations: 0.7032 MB / 1.106 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006891/1.116, allocations: 0.5041 MB / 1.106 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006666/1.116, allocations: 0.5354 MB / 1.107 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/1.117, allocations: 127.5 kB / 1.107 GB, free: 4.688 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/1.118, allocations: 499.3 kB / 1.108 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/1.118, allocations: 320.1 kB / 1.108 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005872/1.119, allocations: 0.5863 MB / 1.108 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/1.121, allocations: 1.709 MB / 1.11 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.121, allocations: 5.219 kB / 1.11 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.583e-06/1.121, allocations: 0 / 1.11 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.616e-05/1.121, allocations: 0.5938 kB / 1.11 GB, free: 4.551 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003232/1.124, allocations: 1.484 MB / 1.112 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.124, allocations: 12.34 kB / 1.112 GB, free: 19.76 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/1.126, allocations: 310.6 kB / 1.112 GB, free: 19.68 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/1.127, allocations: 0.7819 MB / 1.113 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/1.127, allocations: 70.08 kB / 1.113 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/1.128, allocations: 93.98 kB / 1.113 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/1.13, allocations: 1.075 MB / 1.114 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/1.13, allocations: 1.156 kB / 1.114 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/1.13, allocations: 40.89 kB / 1.114 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/1.13, allocations: 24.03 kB / 1.114 GB, free: 19.19 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002661/1.132, allocations: 1.269 MB / 1.115 GB, free: 19.16 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005084/1.138, allocations: 2.68 MB / 1.118 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/1.14, allocations: 1.018 MB / 1.119 GB, free: 18.26 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007584/1.141, allocations: 359.2 kB / 1.119 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.04e-05/1.141, allocations: 32.52 kB / 1.119 GB, free: 18.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/1.142, allocations: 0.566 MB / 1.12 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 2.434e-06/1.142, allocations: 1.203 kB / 1.12 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003767/1.146, allocations: 1.379 MB / 1.121 GB, free: 17.93 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.429e-05/1.146, allocations: 191.8 kB / 1.121 GB, free: 17.71 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008413/1.147, allocations: 0.6392 MB / 1.122 GB, free: 17.58 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/1.147, allocations: 43.81 kB / 1.122 GB, free: 17.55 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003341/1.147, allocations: 422.9 kB / 1.122 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/1.147, allocations: 276.6 kB / 1.123 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003226/1.148, allocations: 167.3 kB / 1.123 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001693/1.148, allocations: 391.7 kB / 1.123 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007589/1.149, allocations: 323 kB / 1.123 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008509/1.15, allocations: 422.5 kB / 1.124 GB, free: 16.78 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/1.151, allocations: 0.7107 MB / 1.125 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.151, allocations: 0 / 1.125 GB, free: 16.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002497/1.154, allocations: 0.9626 MB / 1.125 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/1.154, allocations: 5.188 kB / 1.125 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.154, allocations: 1.844 kB / 1.125 GB, free: 16.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/1.154, allocations: 82.39 kB / 1.126 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008296/1.155, allocations: 195.1 kB / 1.126 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/1.158, allocations: 1.624 MB / 1.127 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/1.159, allocations: 118.1 kB / 1.127 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-05/1.159, allocations: 37.62 kB / 1.127 GB, free: 15.14 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 (98): * Single equations (assignments): 97 * 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.0007409/1.16, allocations: 287.7 kB / 1.128 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/1.16, allocations: 83.72 kB / 1.128 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/1.163, allocations: 1.198 MB / 1.129 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/1.163, allocations: 12.77 kB / 1.129 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.163, allocations: 2.031 kB / 1.129 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.163, allocations: 9.625 kB / 1.129 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/1.167, allocations: 2.152 MB / 1.131 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/1.167, allocations: 1.156 kB / 1.131 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/1.168, allocations: 172.2 kB / 1.131 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/1.169, allocations: 71.28 kB / 1.131 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-05/1.169, allocations: 30.05 kB / 1.131 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/1.171, allocations: 1.651 MB / 1.133 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.171, allocations: 0 / 1.133 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/1.174, allocations: 1.119 MB / 1.134 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005712/1.174, allocations: 279.7 kB / 1.134 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/1.174, allocations: 27.44 kB / 1.134 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/1.175, allocations: 81.41 kB / 1.134 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/1.175, allocations: 70.77 kB / 1.135 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/1.176, allocations: 44.66 kB / 1.135 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008414/1.176, allocations: 472.8 kB / 1.135 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of sort global known variables: time 7.51e-07/1.176, allocations: 0 / 1.135 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001417/1.178, allocations: 332.8 kB / 1.135 GB, free: 12.48 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 (97): * Single equations (assignments): 91 * 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.001553/1.179, allocations: 0.6028 MB / 1.136 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002355/1.182, allocations: 0.9491 MB / 1.137 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.182, allocations: 0 / 1.137 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/1.183, allocations: 0.5894 MB / 1.137 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/1.184, allocations: 289.5 kB / 1.138 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/1.188, allocations: 1.887 MB / 1.14 GB, free: 11.26 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000676/1.189, allocations: 1.05 MB / 1.141 GB, free: 10.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001069/1.19, allocations: 288.4 kB / 1.141 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/1.191, allocations: 107.3 kB / 1.141 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of SimCode: time 1.273e-06/1.191, allocations: 5.203 kB / 1.141 GB, free: 10.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.02749/1.218, allocations: 15.47 MB / 1.156 GB, free: 5.293 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches