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.001136/0.001137, allocations: 90.44 kB / 16.02 MB, free: 80 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.001721/0.001721, allocations: 178.8 kB / 16.92 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 462.7 MB / 0.7371 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005151, allocations: 10.38 kB / 0.9034 GB, free: 36.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.3376, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006384/0.344, allocations: 4.942 MB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.5005, allocations: 146.9 MB / 1.208 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.5016, allocations: 11.94 kB / 1.208 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008213/0.5024, allocations: 162.7 kB / 1.208 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.5046, allocations: 0.4902 MB / 1.208 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.507, allocations: 0.8288 MB / 1.209 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002038/0.509, allocations: 1.515 MB / 1.211 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.5103, allocations: 0.7026 MB / 1.211 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008868/0.5112, allocations: 430 kB / 1.212 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008907/0.5121, allocations: 0.4936 MB / 1.212 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002404/0.5123, allocations: 36 kB / 1.212 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001102/0.5134, allocations: 399.6 kB / 1.213 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.5138, allocations: 227 kB / 1.213 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0007657/0.5146, allocations: 0.5491 MB / 1.213 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.5163, allocations: 1.364 MB / 1.215 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5163, allocations: 3.938 kB / 1.215 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5163, allocations: 0 / 1.215 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.63e-05/0.5163, allocations: 0 / 1.215 GB, free: 5.285 MB / 0.9669 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.003369/0.5197, allocations: 1.415 MB / 1.216 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5198, allocations: 12.03 kB / 1.216 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005721/0.5255, allocations: 0.8264 MB / 1.217 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.5272, allocations: 0.8046 MB / 1.218 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.5273, allocations: 86.2 kB / 1.218 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002637/0.5276, allocations: 107.9 kB / 1.218 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003811/0.5314, allocations: 1.463 MB / 1.219 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5314, allocations: 0 / 1.219 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001485/0.5316, allocations: 44 kB / 1.219 GB, free: 376 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.5316, allocations: 24 kB / 1.219 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005121/0.5367, allocations: 1.944 MB / 1.221 GB, free: 14.39 MB / 0.9825 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.007314/0.5441, allocations: 3.571 MB / 1.225 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00367/0.5478, allocations: 1.392 MB / 1.226 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/0.5495, allocations: 0.6088 MB / 1.227 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007012/0.5502, allocations: 474.4 kB / 1.227 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.5523, allocations: 0.8167 MB / 1.228 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 3.597e-06/0.5523, allocations: 4 kB / 1.228 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.006593/0.5589, allocations: 1.996 MB / 1.23 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/0.5591, allocations: 192.9 kB / 1.23 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.5601, allocations: 0.6566 MB / 1.231 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.5602, allocations: 49.7 kB / 1.231 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000461/0.5607, allocations: 436.5 kB / 1.231 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.5611, allocations: 358.8 kB / 1.231 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.5613, allocations: 89.67 kB / 1.232 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.5615, allocations: 398.7 kB / 1.232 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001579/0.5631, allocations: 0.5055 MB / 1.232 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.5648, allocations: 0.6248 MB / 1.233 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.568, allocations: 1.097 MB / 1.234 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.568, allocations: 4 kB / 1.234 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004326/0.5723, allocations: 1.383 MB / 1.235 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.5724, allocations: 9.406 kB / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5724, allocations: 0 / 1.235 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006627/0.573, allocations: 84.91 kB / 1.236 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5745, allocations: 279.5 kB / 1.236 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.5768, allocations: 1.526 MB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.5783, allocations: 180.6 kB / 1.238 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001498/0.5784, allocations: 51.95 kB / 1.238 GB, free: 13.09 MB / 0.9981 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.0006638/0.5791, allocations: 283.4 kB / 1.238 GB, free: 12.81 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002675/0.5794, allocations: 90.88 kB / 1.238 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004945/0.5843, allocations: 1.7 MB / 1.24 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5844, allocations: 16 kB / 1.24 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5844, allocations: 0 / 1.24 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5844, allocations: 3.984 kB / 1.24 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006185/0.5906, allocations: 2.813 MB / 1.242 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.5906, allocations: 0 / 1.242 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.592, allocations: 255.6 kB / 1.243 GB, free: 7.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005416/0.5925, allocations: 88.7 kB / 1.243 GB, free: 7.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.5927, allocations: 35.97 kB / 1.243 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.5946, allocations: 1.552 MB / 1.244 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5946, allocations: 0 / 1.244 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.5989, allocations: 1.542 MB / 1.246 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.5996, allocations: 335.4 kB / 1.246 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.5998, allocations: 20 kB / 1.246 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.6013, allocations: 149.1 kB / 1.246 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.6015, allocations: 96.81 kB / 1.246 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.6016, allocations: 43.97 kB / 1.246 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007134/0.6023, allocations: 471 kB / 1.247 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6023, allocations: 0 / 1.247 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0013/0.6036, allocations: 403 kB / 1.247 GB, free: 2.973 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 (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.00167/0.6053, allocations: 0.6283 MB / 1.248 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004144/0.6095, allocations: 1.409 MB / 1.249 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.6095, allocations: 0 / 1.249 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002138/0.6116, allocations: 0.8242 MB / 1.25 GB, free: 272 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5421/1.154, allocations: 286.1 kB / 1.25 GB, free: 189.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/1.16, allocations: 2.68 MB / 1.253 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009202/1.161, allocations: 1.088 MB / 1.254 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008172/1.162, allocations: 148.4 kB / 1.254 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.162, allocations: 3.188 kB / 1.254 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.03989/1.202, allocations: 22.6 MB / 1.276 GB, free: 181.6 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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