Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001027/0.001027, allocations: 92 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.001155/0.001155, 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.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 462.6 MB / 0.736 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003692/0.0003693, allocations: 7.75 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3692, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006571/0.3758, allocations: 4.666 MB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1757/0.5516, allocations: 137 MB / 1.196 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.5527, allocations: 23.88 kB / 1.196 GB, free: 7.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.5533, allocations: 150.8 kB / 1.197 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.5551, allocations: 481.8 kB / 1.197 GB, free: 6.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.5576, allocations: 0.7238 MB / 1.198 GB, free: 5.828 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002271/0.5599, allocations: 1.394 MB / 1.199 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.561, allocations: 0.5278 MB / 1.2 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009356/0.5619, allocations: 430.2 kB / 1.2 GB, free: 3.461 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006868/0.5626, allocations: 481.7 kB / 1.2 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.499e-05/0.5627, allocations: 32 kB / 1.201 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001293/0.564, allocations: 367.6 kB / 1.201 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000309/0.5644, allocations: 223 kB / 1.201 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.5647, allocations: 229.1 kB / 1.201 GB, free: 2.148 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.5664, allocations: 1.368 MB / 1.203 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.5665, allocations: 0 / 1.203 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5665, allocations: 0 / 1.203 GB, free: 0.7773 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.017e-05/0.5665, allocations: 0 / 1.203 GB, free: 0.7773 MB / 0.9512 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.003291/0.5698, allocations: 1.431 MB / 1.204 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.5699, allocations: 8.031 kB / 1.204 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004691/0.5746, allocations: 0.8216 MB / 1.205 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.576, allocations: 0.7772 MB / 1.206 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.622e-05/0.5761, allocations: 86.14 kB / 1.206 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.5763, allocations: 108 kB / 1.206 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003178/0.5795, allocations: 1.455 MB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.5795, allocations: 0 / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.5796, allocations: 40 kB / 1.207 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.5797, allocations: 28 kB / 1.207 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004395/0.5841, allocations: 1.932 MB / 1.209 GB, free: 9.922 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006468/0.5906, allocations: 3.577 MB / 1.213 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.5936, allocations: 1.374 MB / 1.214 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.5951, allocations: 0.6089 MB / 1.215 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.5958, allocations: 478.4 kB / 1.215 GB, free: 3.645 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001794/0.5976, allocations: 0.8127 MB / 1.216 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=109): time 2.706e-06/0.5976, allocations: 0 / 1.216 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of matching and sorting (n=109): time 0.005592/0.6032, allocations: 1.992 MB / 1.218 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.6033, allocations: 192.9 kB / 1.218 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009427/0.6043, allocations: 0.6411 MB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.604e-05/0.6044, allocations: 53.7 kB / 1.219 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003934/0.6048, allocations: 436.5 kB / 1.219 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.6051, allocations: 354.8 kB / 1.219 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.512e-05/0.6052, allocations: 20 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6054, allocations: 390.8 kB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.6067, allocations: 0.5094 MB / 1.22 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.6081, allocations: 0.6131 MB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.6095, allocations: 0.5378 MB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6095, allocations: 0 / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003556/0.6131, allocations: 1.395 MB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6131, allocations: 6.188 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6131, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005407/0.6137, allocations: 80.91 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.615, allocations: 279.6 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002025/0.617, allocations: 1.524 MB / 1.225 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.6184, allocations: 172.7 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.6185, allocations: 55.95 kB / 1.225 GB, free: 9.332 MB / 0.9825 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.000627/0.6191, allocations: 287.3 kB / 1.225 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.6193, allocations: 90.88 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004289/0.6236, allocations: 1.699 MB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.6236, allocations: 15.98 kB / 1.227 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6236, allocations: 3.953 kB / 1.227 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6237, allocations: 11.86 kB / 1.227 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005731/0.6294, allocations: 2.806 MB / 1.23 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.6294, allocations: 4 kB / 1.23 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.6307, allocations: 255.7 kB / 1.23 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/0.6312, allocations: 88.7 kB / 1.23 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.7e-05/0.6313, allocations: 35.97 kB / 1.23 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/0.633, allocations: 1.544 MB / 1.231 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.633, allocations: 0 / 1.231 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/0.6367, allocations: 1.531 MB / 1.233 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/0.6373, allocations: 339.3 kB / 1.233 GB, free: 376 kB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.6375, allocations: 23.98 kB / 1.233 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.6386, allocations: 149.2 kB / 1.233 GB, free: 204 kB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.6388, allocations: 88.81 kB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.6389, allocations: 47.97 kB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000747/0.6397, allocations: 467 kB / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6397, allocations: 0 / 1.234 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001301/0.641, allocations: 399 kB / 1.234 GB, free: 15.22 MB / 0.9981 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.001636/0.6427, allocations: 0.6268 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003532/0.6462, allocations: 1.394 MB / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6462, allocations: 0 / 1.236 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.6481, allocations: 0.8203 MB / 1.237 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.6496, allocations: 277.3 kB / 1.237 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.6539, allocations: 2.568 MB / 1.24 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006434/0.6546, allocations: 1.085 MB / 1.241 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001512/0.6561, allocations: 343.7 kB / 1.241 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/0.6565, allocations: 127.4 kB / 1.241 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of SimCode: time 7.51e-07/0.6565, allocations: 0 / 1.241 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of Templates: time 0.7115/1.368, allocations: 16.94 MB / 1.258 GB, free: 185 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches