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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001133/0.001133, 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.001365/0.001365, allocations: 196.6 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.378/1.378, 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 12.0.0-master/package.mo): time 2.871/2.871, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 74.03 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3472, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007086/0.3543, allocations: 5.383 MB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.5219, allocations: 150.9 MB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009249/0.5229, allocations: 19.88 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005926/0.5235, allocations: 213.9 kB / 1.221 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.5252, allocations: 0.5665 MB / 1.222 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.5272, allocations: 0.9418 MB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.5288, allocations: 1.605 MB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5298, allocations: 0.7473 MB / 1.225 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007824/0.5306, allocations: 0.588 MB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.5313, allocations: 0.6419 MB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.5315, allocations: 144 kB / 1.226 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.5326, allocations: 0.4957 MB / 1.227 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003379/0.533, allocations: 362.9 kB / 1.227 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006081/0.5336, allocations: 0.6724 MB / 1.228 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002158/0.5358, allocations: 1.865 MB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5358, allocations: 3.984 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.765e-06/0.5358, allocations: 4 kB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.962e-05/0.5358, allocations: 0 / 1.229 GB, free: 4.684 MB / 0.9825 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.003316/0.5391, allocations: 1.672 MB / 1.231 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5392, allocations: 12.03 kB / 1.231 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.5444, allocations: 0.7561 MB / 1.232 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.5458, allocations: 0.8046 MB / 1.233 GB, free: 1.336 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.5459, allocations: 86.2 kB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.546, allocations: 104 kB / 1.233 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.5493, allocations: 1.436 MB / 1.234 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.5493, allocations: 7.922 kB / 1.234 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.5495, allocations: 44 kB / 1.234 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5495, allocations: 28 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004613/0.5541, allocations: 1.882 MB / 1.236 GB, free: 13.68 MB / 0.9981 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.006401/0.5605, allocations: 3.542 MB / 1.24 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/0.5639, allocations: 1.378 MB / 1.241 GB, free: 8.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.5655, allocations: 0.6029 MB / 1.241 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006495/0.5661, allocations: 482.4 kB / 1.242 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001907/0.5681, allocations: 0.8088 MB / 1.243 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=109): time 2.975e-06/0.5681, allocations: 0 / 1.243 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of matching and sorting (n=109): time 0.006275/0.5743, allocations: 1.977 MB / 1.245 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.5745, allocations: 192.9 kB / 1.245 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008931/0.5754, allocations: 0.6528 MB / 1.245 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.5755, allocations: 45.7 kB / 1.246 GB, free: 3.656 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000374/0.5759, allocations: 440.5 kB / 1.246 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/0.5762, allocations: 358.8 kB / 1.246 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.5766, allocations: 206.5 kB / 1.246 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5768, allocations: 398.7 kB / 1.247 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.5783, allocations: 0.5016 MB / 1.247 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.5799, allocations: 0.6092 MB / 1.248 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00299/0.5829, allocations: 1.09 MB / 1.249 GB, free: 24 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5829, allocations: 0 / 1.249 GB, free: 24 kB / 0.9981 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.566/1.149, allocations: 1.37 MB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/1.149, allocations: 6.688 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.149, allocations: 0.8438 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/1.15, allocations: 82.36 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.151, allocations: 275.4 kB / 1.251 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/1.153, allocations: 1.622 MB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.155, allocations: 170.6 kB / 1.252 GB, free: 182 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/1.155, allocations: 46.56 kB / 1.253 GB, free: 182 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.0005893/1.155, allocations: 299.8 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/1.156, allocations: 93.28 kB / 1.253 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004953/1.16, allocations: 1.667 MB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/1.161, allocations: 17.02 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/1.161, allocations: 7.359 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.446e-05/1.161, allocations: 4.766 kB / 1.255 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005983/1.167, allocations: 2.794 MB / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.167, allocations: 0 / 1.257 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001225/1.168, allocations: 256.8 kB / 1.258 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004157/1.168, allocations: 71.41 kB / 1.258 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.168, allocations: 37.23 kB / 1.258 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/1.17, allocations: 1.666 MB / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.17, allocations: 0 / 1.259 GB, free: 180 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/1.174, allocations: 1.531 MB / 1.261 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004857/1.174, allocations: 314.4 kB / 1.261 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/1.175, allocations: 31.11 kB / 1.261 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.176, allocations: 122 kB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/1.176, allocations: 82.83 kB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/1.176, allocations: 49.64 kB / 1.261 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006498/1.177, allocations: 469.6 kB / 1.262 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/1.177, allocations: 2.625 kB / 1.262 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001148/1.178, allocations: 405.4 kB / 1.262 GB, free: 179 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.001458/1.179, allocations: 0.6331 MB / 1.263 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004922/1.184, allocations: 1.663 MB / 1.264 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/1.184, allocations: 0 / 1.264 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/1.186, allocations: 0.8108 MB / 1.265 GB, free: 178 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/1.188, allocations: 324.8 kB / 1.265 GB, free: 177.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/1.192, allocations: 2.119 MB / 1.268 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/1.193, allocations: 1.081 MB / 1.269 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001552/1.194, allocations: 339 kB / 1.269 GB, free: 176 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004533/1.195, allocations: 128.7 kB / 1.269 GB, free: 176 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.195, allocations: 0 / 1.269 GB, free: 176 MB / 0.9981 GB Notification: Performance of Templates: time 0.03442/1.229, allocations: 18.33 MB / 1.287 GB, free: 170.4 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