Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 194.7 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.391 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.53/2.53, allocations: 390.2 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9369/0.9384, allocations: 140.4 MB / 0.9496 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007071/0.9456, allocations: 4.642 MB / 0.9541 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2127/1.158, allocations: 150.8 MB / 1.101 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001801/1.16, allocations: 15.94 kB / 1.101 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00125/1.161, allocations: 186.2 kB / 1.102 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003527/1.165, allocations: 0.516 MB / 1.102 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003198/1.168, allocations: 0.9345 MB / 1.103 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002526/1.171, allocations: 1.481 MB / 1.104 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001374/1.172, allocations: 0.7975 MB / 1.105 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001124/1.173, allocations: 0.58 MB / 1.106 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/1.174, allocations: 0.623 MB / 1.106 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002131/1.174, allocations: 148 kB / 1.106 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001292/1.176, allocations: 0.4957 MB / 1.107 GB, free: 56 kB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/1.176, allocations: 354.9 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007015/1.177, allocations: 0.6451 MB / 1.108 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002685/1.18, allocations: 1.83 MB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.18, allocations: 4 kB / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.785e-06/1.18, allocations: 0 / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.684e-05/1.18, allocations: 0 / 1.11 GB, free: 13.22 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003397/1.183, allocations: 1.661 MB / 1.111 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/1.183, allocations: 8.031 kB / 1.111 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005226/1.188, allocations: 0.7522 MB / 1.112 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/1.19, allocations: 0.8124 MB / 1.113 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.068e-05/1.19, allocations: 82.2 kB / 1.113 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/1.19, allocations: 100 kB / 1.113 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0035/1.194, allocations: 1.432 MB / 1.114 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/1.194, allocations: 4 kB / 1.114 GB, free: 8.211 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/1.194, allocations: 48 kB / 1.115 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/1.194, allocations: 24 kB / 1.115 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004765/1.199, allocations: 1.889 MB / 1.116 GB, free: 6.242 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007277/1.206, allocations: 3.272 MB / 1.12 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/1.21, allocations: 1.372 MB / 1.121 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001517/1.211, allocations: 0.5933 MB / 1.121 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/1.212, allocations: 482.5 kB / 1.122 GB, free: 352 kB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/1.214, allocations: 0.8049 MB / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=109): time 4.849e-06/1.214, allocations: 0 / 1.123 GB, free: 15.52 MB / 0.8887 GB Notification: Performance of matching and sorting (n=109): time 0.006285/1.22, allocations: 1.969 MB / 1.125 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.22, allocations: 196.9 kB / 1.125 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/1.221, allocations: 0.6527 MB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/1.221, allocations: 45.7 kB / 1.126 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/1.222, allocations: 448.5 kB / 1.126 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/1.222, allocations: 354.8 kB / 1.126 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/1.223, allocations: 202.5 kB / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000218/1.223, allocations: 402.7 kB / 1.127 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/1.224, allocations: 0.4977 MB / 1.127 GB, free: 10.67 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/1.226, allocations: 0.6169 MB / 1.128 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003059/1.229, allocations: 1.074 MB / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/1.229, allocations: 0 / 1.129 GB, free: 8.949 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00453/1.234, allocations: 1.372 MB / 1.13 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/1.234, allocations: 4 kB / 1.13 GB, free: 7.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.234, allocations: 4 kB / 1.13 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006678/1.235, allocations: 88.88 kB / 1.13 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/1.236, allocations: 267.6 kB / 1.131 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/1.238, allocations: 1.632 MB / 1.132 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.24, allocations: 161.4 kB / 1.132 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.24, allocations: 51.95 kB / 1.132 GB, free: 5.219 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (124): * Single equations (assignments): 123 * 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.0008048/1.241, allocations: 289.5 kB / 1.133 GB, free: 4.93 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002473/1.241, allocations: 102.8 kB / 1.133 GB, free: 4.828 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004786/1.246, allocations: 1.672 MB / 1.135 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.246, allocations: 15.94 kB / 1.135 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.246, allocations: 0 / 1.135 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.246, allocations: 3.984 kB / 1.135 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006776/1.253, allocations: 2.848 MB / 1.137 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/1.253, allocations: 0 / 1.137 GB, free: 220 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/1.254, allocations: 259.8 kB / 1.138 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004651/1.255, allocations: 76.66 kB / 1.138 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.152e-05/1.255, allocations: 35.97 kB / 1.138 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002204/1.257, allocations: 1.646 MB / 1.139 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.257, allocations: 8 kB / 1.139 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004389/1.261, allocations: 1.523 MB / 1.141 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006548/1.262, allocations: 323.4 kB / 1.141 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/1.262, allocations: 28 kB / 1.141 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/1.264, allocations: 119.9 kB / 1.141 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/1.264, allocations: 84.88 kB / 1.141 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.264, allocations: 43.97 kB / 1.141 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000822/1.265, allocations: 475 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/1.265, allocations: 3.938 kB / 1.142 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001407/1.266, allocations: 391 kB / 1.142 GB, free: 11.05 MB / 0.9044 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 (122): * Single equations (assignments): 116 * 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.001816/1.268, allocations: 0.6281 MB / 1.143 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.005388/1.274, allocations: 1.655 MB / 1.144 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/1.274, allocations: 4 kB / 1.144 GB, free: 8.922 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002175/1.276, allocations: 0.8163 MB / 1.145 GB, free: 8.094 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.277, allocations: 309.9 kB / 1.145 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005953/1.283, allocations: 2.214 MB / 1.148 GB, free: 5.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000868/1.284, allocations: 1.084 MB / 1.149 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001819/1.286, allocations: 343.7 kB / 1.149 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/1.287, allocations: 127.4 kB / 1.149 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of SimCode: time 1.112e-06/1.287, allocations: 0 / 1.149 GB, free: 3.992 MB / 0.9044 GB Notification: Performance of Templates: time 0.0374/1.324, allocations: 18.21 MB / 1.167 GB, free: 1.984 MB / 0.92 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches