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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001015/0.001015, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008141/0.008141, allocations: 169.4 kB / 16.26 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.538/1.538, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.729/2.729, allocations: 462.7 MB / 0.7364 GB, free: 312 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003691/0.0003692, allocations: 9.031 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.348, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006861/0.3549, allocations: 4.954 MB / 1.063 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.5184, allocations: 146.9 MB / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009137/0.5194, allocations: 19.88 kB / 1.207 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005923/0.52, allocations: 166.7 kB / 1.207 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.5218, allocations: 496.8 kB / 1.208 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.5239, allocations: 0.8294 MB / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00178/0.5257, allocations: 1.503 MB / 1.21 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009962/0.5267, allocations: 0.7065 MB / 1.211 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007334/0.5274, allocations: 438 kB / 1.211 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.5281, allocations: 497.4 kB / 1.211 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5282, allocations: 36 kB / 1.212 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009241/0.5292, allocations: 403.6 kB / 1.212 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002314/0.5294, allocations: 219 kB / 1.212 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005248/0.5299, allocations: 0.5491 MB / 1.213 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.5318, allocations: 1.744 MB / 1.214 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.5318, allocations: 0 / 1.214 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5318, allocations: 0 / 1.214 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.5318, allocations: 0 / 1.214 GB, free: 5.422 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.002791/0.5346, allocations: 1.424 MB / 1.216 GB, free: 3.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.5347, allocations: 8.031 kB / 1.216 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/0.5402, allocations: 0.8264 MB / 1.217 GB, free: 3.109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.5415, allocations: 0.8123 MB / 1.217 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/0.5416, allocations: 82.2 kB / 1.217 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.5418, allocations: 108 kB / 1.218 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.5451, allocations: 1.455 MB / 1.219 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5451, allocations: 0 / 1.219 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.5452, allocations: 48 kB / 1.219 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.5453, allocations: 31.98 kB / 1.219 GB, free: 480 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004693/0.55, allocations: 1.94 MB / 1.221 GB, free: 14.52 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.007126/0.5571, allocations: 3.573 MB / 1.224 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.5607, allocations: 1.384 MB / 1.226 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.5622, allocations: 0.605 MB / 1.226 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/0.563, allocations: 482.5 kB / 1.227 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/0.5649, allocations: 0.8205 MB / 1.228 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=109): time 5.3e-06/0.565, allocations: 0 / 1.228 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=109): time 0.006183/0.5712, allocations: 2 MB / 1.23 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.5714, allocations: 192.9 kB / 1.23 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.5725, allocations: 0.6488 MB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002676/0.5728, allocations: 53.64 kB / 1.23 GB, free: 4.426 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.5733, allocations: 432.5 kB / 1.231 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004177/0.5737, allocations: 362.8 kB / 1.231 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/0.5739, allocations: 85.67 kB / 1.231 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002489/0.5741, allocations: 402.6 kB / 1.232 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.5757, allocations: 0.5094 MB / 1.232 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.5773, allocations: 0.617 MB / 1.233 GB, free: 2 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002991/0.5803, allocations: 1.101 MB / 1.234 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5804, allocations: 0 / 1.234 GB, free: 0.8867 MB / 0.9825 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004289/0.5846, allocations: 1.387 MB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.5847, allocations: 4 kB / 1.235 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/0.5847, allocations: 8.109 kB / 1.235 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.5854, allocations: 80.78 kB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5867, allocations: 275.6 kB / 1.236 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.589, allocations: 1.525 MB / 1.237 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.5905, allocations: 184.4 kB / 1.237 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.5906, allocations: 47.97 kB / 1.237 GB, free: 13.23 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.0006068/0.5912, allocations: 295.3 kB / 1.238 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.5914, allocations: 94.88 kB / 1.238 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.5961, allocations: 1.684 MB / 1.239 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.5961, allocations: 15.98 kB / 1.239 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5961, allocations: 4 kB / 1.239 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.5962, allocations: 7.969 kB / 1.239 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/0.6021, allocations: 2.809 MB / 1.242 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.6022, allocations: 0 / 1.242 GB, free: 8.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.6035, allocations: 259.6 kB / 1.242 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005442/0.6041, allocations: 88.72 kB / 1.242 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.585e-05/0.6042, allocations: 35.95 kB / 1.242 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.606, allocations: 1.548 MB / 1.244 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.606, allocations: 0 / 1.244 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004121/0.6102, allocations: 1.542 MB / 1.245 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005684/0.6108, allocations: 335.4 kB / 1.246 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/0.6109, allocations: 27.98 kB / 1.246 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.6122, allocations: 144.4 kB / 1.246 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.6124, allocations: 92.8 kB / 1.246 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6126, allocations: 47.91 kB / 1.246 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006122/0.6132, allocations: 467 kB / 1.247 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6132, allocations: 4 kB / 1.247 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001102/0.6143, allocations: 403 kB / 1.247 GB, free: 3.105 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.001432/0.6157, allocations: 0.6363 MB / 1.248 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003813/0.6196, allocations: 1.397 MB / 1.249 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6196, allocations: 4 kB / 1.249 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.6216, allocations: 0.8242 MB / 1.25 GB, free: 408 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.6231, allocations: 286.8 kB / 1.25 GB, free: 132 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5418/1.165, allocations: 2.637 MB / 1.253 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008144/1.166, allocations: 1.086 MB / 1.254 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001677/1.167, allocations: 340.4 kB / 1.254 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/1.168, allocations: 126 kB / 1.254 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of SimCode: time 9.52e-07/1.168, allocations: 1.688 kB / 1.254 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.03457/1.203, allocations: 17.46 MB / 1.271 GB, free: 184.9 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