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.001018/0.001018, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001263/0.001264, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240 MB, free: 5.328 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.507/2.507, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 15.98 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9024/0.9028, allocations: 142.4 MB / 0.9544 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.004501/0.9074, allocations: 3.991 MB / 0.9583 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.2074/1.115, allocations: 137 MB / 1.092 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00144/1.116, allocations: 15.94 kB / 1.092 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/1.117, allocations: 130.8 kB / 1.092 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/1.12, allocations: 431.4 kB / 1.093 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003454/1.124, allocations: 0.7243 MB / 1.093 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002597/1.126, allocations: 1.274 MB / 1.095 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001646/1.128, allocations: 0.5781 MB / 1.095 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/1.129, allocations: 402.3 kB / 1.096 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/1.13, allocations: 461.7 kB / 1.096 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003349/1.13, allocations: 36 kB / 1.096 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/1.132, allocations: 363.7 kB / 1.096 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000539/1.133, allocations: 219 kB / 1.097 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004928/1.133, allocations: 221 kB / 1.097 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003116/1.136, allocations: 1.333 MB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/1.136, allocations: 0 / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.79e-06/1.136, allocations: 4 kB / 1.098 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.072e-05/1.136, allocations: 7.875 kB / 1.098 GB, free: 12.02 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.00555/1.142, allocations: 1.411 MB / 1.099 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.526e-05/1.142, allocations: 8.031 kB / 1.099 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007457/1.15, allocations: 0.8178 MB / 1.1 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/1.152, allocations: 0.781 MB / 1.101 GB, free: 8.895 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/1.152, allocations: 86.2 kB / 1.101 GB, free: 8.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003526/1.152, allocations: 108 kB / 1.101 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004381/1.157, allocations: 1.451 MB / 1.103 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.157, allocations: 0 / 1.103 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/1.157, allocations: 51.98 kB / 1.103 GB, free: 7.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-05/1.157, allocations: 28 kB / 1.103 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005017/1.162, allocations: 1.925 MB / 1.105 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007677/1.17, allocations: 3.314 MB / 1.108 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/1.173, allocations: 1.376 MB / 1.109 GB, free: 396 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/1.175, allocations: 0.5973 MB / 1.11 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007606/1.176, allocations: 486.3 kB / 1.11 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001936/1.178, allocations: 0.8049 MB / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=109): time 3.877e-06/1.178, allocations: 0 / 1.111 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=109): time 0.005854/1.183, allocations: 1.977 MB / 1.113 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.184, allocations: 200.9 kB / 1.113 GB, free: 12.15 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/1.185, allocations: 0.6565 MB / 1.114 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001092/1.185, allocations: 41.7 kB / 1.114 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005338/1.185, allocations: 444.5 kB / 1.114 GB, free: 11 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/1.186, allocations: 358.8 kB / 1.115 GB, free: 10.64 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/1.186, allocations: 20 kB / 1.115 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0003135/1.186, allocations: 390.8 kB / 1.115 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.188, allocations: 0.5055 MB / 1.115 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/1.189, allocations: 0.6131 MB / 1.116 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/1.191, allocations: 0.5301 MB / 1.117 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.191, allocations: 0 / 1.117 GB, free: 8.566 MB / 0.8731 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003764/1.194, allocations: 1.372 MB / 1.118 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.194, allocations: 9.406 kB / 1.118 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/1.194, allocations: 0 / 1.118 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005841/1.195, allocations: 88.86 kB / 1.118 GB, free: 7.082 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/1.196, allocations: 279.5 kB / 1.118 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/1.198, allocations: 1.512 MB / 1.12 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/1.2, allocations: 181 kB / 1.12 GB, free: 4.984 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/1.2, allocations: 47.95 kB / 1.12 GB, free: 4.938 MB / 0.8731 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006951/1.201, allocations: 295.1 kB / 1.12 GB, free: 4.641 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/1.201, allocations: 90.88 kB / 1.12 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00451/1.205, allocations: 1.695 MB / 1.122 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/1.205, allocations: 12 kB / 1.122 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.206, allocations: 3.984 kB / 1.122 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/1.206, allocations: 3.984 kB / 1.122 GB, free: 2.82 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006095/1.212, allocations: 2.863 MB / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.212, allocations: 0 / 1.125 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/1.213, allocations: 259.6 kB / 1.125 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004807/1.213, allocations: 80.78 kB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/1.214, allocations: 35.97 kB / 1.125 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001825/1.215, allocations: 1.54 MB / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/1.215, allocations: 0 / 1.127 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003864/1.219, allocations: 1.535 MB / 1.128 GB, free: 12.3 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/1.22, allocations: 335.3 kB / 1.128 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/1.22, allocations: 24 kB / 1.129 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/1.221, allocations: 139.9 kB / 1.129 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/1.221, allocations: 88.88 kB / 1.129 GB, free: 11.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001828/1.222, allocations: 55.91 kB / 1.129 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007778/1.222, allocations: 463 kB / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/1.222, allocations: 0 / 1.129 GB, free: 11.2 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001323/1.224, allocations: 391 kB / 1.13 GB, free: 10.82 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001536/1.225, allocations: 0.6247 MB / 1.13 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003559/1.229, allocations: 1.39 MB / 1.132 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.229, allocations: 0 / 1.132 GB, free: 8.961 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/1.231, allocations: 0.8203 MB / 1.132 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.232, allocations: 271.5 kB / 1.133 GB, free: 7.875 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/1.238, allocations: 2.726 MB / 1.135 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009071/1.239, allocations: 1.088 MB / 1.136 GB, free: 4.008 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001717/1.241, allocations: 331.7 kB / 1.137 GB, free: 3.68 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/1.241, allocations: 127.4 kB / 1.137 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of SimCode: time 1.893e-06/1.241, allocations: 0 / 1.137 GB, free: 3.555 MB / 0.8887 GB Notification: Performance of Templates: time 0.03194/1.273, allocations: 16.85 MB / 1.153 GB, free: 2.906 MB / 0.9044 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