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.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.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.009608/0.009608, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.002007/0.002007, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.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.419/2.419, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7409/0.7423, allocations: 140.4 MB / 0.9496 GB, free: 9.227 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005849/0.7482, allocations: 4.652 MB / 0.9541 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1654/0.9137, allocations: 148.5 MB / 1.099 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.915, allocations: 19.88 kB / 1.099 GB, free: 8.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006028/0.9156, allocations: 134.9 kB / 1.099 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.9174, allocations: 442.3 kB / 1.1 GB, free: 7.852 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.9197, allocations: 0.8218 MB / 1.1 GB, free: 7.035 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.9214, allocations: 1.391 MB / 1.102 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001035/0.9224, allocations: 0.7762 MB / 1.103 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007781/0.9232, allocations: 0.4942 MB / 1.103 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006402/0.9238, allocations: 0.5871 MB / 1.104 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.924, allocations: 76 kB / 1.104 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000937/0.9249, allocations: 435.6 kB / 1.104 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.9252, allocations: 290.9 kB / 1.104 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004909/0.9257, allocations: 0.5865 MB / 1.105 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.9271, allocations: 1.368 MB / 1.106 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.9271, allocations: 0 / 1.106 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.01e-07/0.9271, allocations: 0 / 1.106 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.9271, allocations: 0 / 1.106 GB, free: 0.9922 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: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003029/0.9302, allocations: 1.657 MB / 1.108 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.9302, allocations: 12.03 kB / 1.108 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00521/0.9354, allocations: 0.7561 MB / 1.109 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.9368, allocations: 0.8045 MB / 1.109 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.9369, allocations: 78.2 kB / 1.11 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.937, allocations: 112 kB / 1.11 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003379/0.9404, allocations: 1.432 MB / 1.111 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.9405, allocations: 7.938 kB / 1.111 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.9406, allocations: 47.98 kB / 1.111 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.9406, allocations: 28 kB / 1.111 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.9451, allocations: 1.882 MB / 1.113 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00616/0.9513, allocations: 3.268 MB / 1.116 GB, free: 6.66 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/0.9545, allocations: 1.363 MB / 1.117 GB, free: 5.27 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.956, allocations: 0.5972 MB / 1.118 GB, free: 4.672 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/0.9567, allocations: 486.5 kB / 1.119 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.9586, allocations: 0.8049 MB / 1.119 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 2.555e-06/0.9586, allocations: 0 / 1.119 GB, free: 3.281 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.006008/0.9646, allocations: 1.969 MB / 1.121 GB, free: 1.285 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.9648, allocations: 200.9 kB / 1.121 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008662/0.9657, allocations: 0.6449 MB / 1.122 GB, free: 396 kB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.9658, allocations: 53.69 kB / 1.122 GB, free: 336 kB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.9661, allocations: 436.7 kB / 1.123 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002947/0.9664, allocations: 358.8 kB / 1.123 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003551/0.9668, allocations: 206.5 kB / 1.123 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.967, allocations: 398.7 kB / 1.123 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.9684, allocations: 0.5016 MB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.9699, allocations: 0.6052 MB / 1.125 GB, free: 13.8 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002757/0.9726, allocations: 1.082 MB / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.9726, allocations: 0 / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003911/0.9766, allocations: 1.372 MB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.9766, allocations: 4 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.9766, allocations: 3.984 kB / 1.127 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.9772, allocations: 84.91 kB / 1.127 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.9786, allocations: 267.6 kB / 1.127 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/0.9806, allocations: 1.52 MB / 1.129 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.982, allocations: 169.1 kB / 1.129 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.9821, allocations: 55.95 kB / 1.129 GB, free: 9.09 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.0006446/0.9827, allocations: 285.3 kB / 1.129 GB, free: 8.805 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002133/0.9829, allocations: 90.88 kB / 1.129 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.9874, allocations: 1.684 MB / 1.131 GB, free: 7.012 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.9874, allocations: 16 kB / 1.131 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.9874, allocations: 0 / 1.131 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.9874, allocations: 3.984 kB / 1.131 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005936/0.9934, allocations: 2.851 MB / 1.134 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.9934, allocations: 0 / 1.134 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.9947, allocations: 255.6 kB / 1.134 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000482/0.9952, allocations: 92.66 kB / 1.134 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/0.9953, allocations: 31.97 kB / 1.134 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.997, allocations: 1.54 MB / 1.136 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.9971, allocations: 3.984 kB / 1.136 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/1.001, allocations: 1.531 MB / 1.137 GB, free: 492 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/1.002, allocations: 319.5 kB / 1.137 GB, free: 152 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/1.002, allocations: 24 kB / 1.137 GB, free: 128 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/1.003, allocations: 123.9 kB / 1.138 GB, free: 4 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/1.003, allocations: 92.81 kB / 1.138 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/1.003, allocations: 43.97 kB / 1.138 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006174/1.004, allocations: 475 kB / 1.138 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/1.004, allocations: 3.938 kB / 1.138 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001137/1.005, allocations: 379.1 kB / 1.139 GB, free: 15.04 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.001515/1.007, allocations: 0.6305 MB / 1.139 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.003531/1.01, allocations: 1.378 MB / 1.14 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.01, allocations: 0 / 1.14 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/1.012, allocations: 0.8241 MB / 1.141 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/1.013, allocations: 265.5 kB / 1.142 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/1.019, allocations: 2.774 MB / 1.144 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006216/1.019, allocations: 1.084 MB / 1.145 GB, free: 8.188 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/1.02, allocations: 147.3 kB / 1.145 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of SimCode: time 5.21e-07/1.02, allocations: 0 / 1.145 GB, free: 8.043 MB / 0.9044 GB Notification: Performance of Templates: time 0.03034/1.05, allocations: 22.52 MB / 1.167 GB, free: 1.645 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,briCoe.F1,briCoe.F2 Variables in the result:briCoe.F1,briCoe.F2,time