Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001525/0.001525, allocations: 111.6 kB / 16.41 MB, free: 6.012 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.001664/0.001664, allocations: 182.8 kB / 17.34 MB, free: 5.629 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001392, allocations: 67.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.863/0.8644, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006957/0.8714, allocations: 5.405 MB / 1.173 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1548/1.026, allocations: 150.8 MB / 1.32 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009815/1.027, allocations: 19.88 kB / 1.32 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006654/1.028, allocations: 206 kB / 1.32 GB, free: 6.77 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002194/1.03, allocations: 0.5829 MB / 1.321 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002348/1.032, allocations: 0.954 MB / 1.322 GB, free: 5.238 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002053/1.035, allocations: 1.616 MB / 1.323 GB, free: 3.613 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/1.036, allocations: 0.7473 MB / 1.324 GB, free: 2.832 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000844/1.036, allocations: 0.5918 MB / 1.324 GB, free: 2.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007123/1.037, allocations: 0.6535 MB / 1.325 GB, free: 1.582 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/1.037, allocations: 144 kB / 1.325 GB, free: 1.441 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009507/1.038, allocations: 0.5231 MB / 1.326 GB, free: 0.918 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002761/1.039, allocations: 358.9 kB / 1.326 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005446/1.039, allocations: 0.6802 MB / 1.327 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/1.041, allocations: 1.902 MB / 1.329 GB, free: 13.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.041, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.553e-06/1.041, allocations: 3.938 kB / 1.329 GB, free: 13.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.392e-05/1.041, allocations: 0 / 1.329 GB, free: 13.97 MB / 1.061 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.003137/1.044, allocations: 1.672 MB / 1.33 GB, free: 12.25 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.606e-05/1.044, allocations: 12.92 kB / 1.33 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005417/1.05, allocations: 0.7599 MB / 1.331 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/1.052, allocations: 0.8241 MB / 1.332 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/1.052, allocations: 86.2 kB / 1.332 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/1.052, allocations: 112 kB / 1.332 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003203/1.055, allocations: 1.428 MB / 1.333 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/1.055, allocations: 0 / 1.333 GB, free: 8.914 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/1.055, allocations: 51.98 kB / 1.333 GB, free: 8.863 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/1.055, allocations: 32 kB / 1.333 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/1.06, allocations: 1.885 MB / 1.335 GB, free: 6.938 MB / 1.061 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.006978/1.067, allocations: 3.505 MB / 1.339 GB, free: 3.301 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/1.07, allocations: 1.381 MB / 1.34 GB, free: 1.898 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/1.072, allocations: 0.5933 MB / 1.341 GB, free: 1.297 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/1.073, allocations: 482.6 kB / 1.341 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001812/1.074, allocations: 0.8049 MB / 1.342 GB, free: 15.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=109): time 3.376e-06/1.075, allocations: 4 kB / 1.342 GB, free: 15.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=109): time 0.005934/1.08, allocations: 1.969 MB / 1.344 GB, free: 13.91 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.952e-05/1.081, allocations: 200.9 kB / 1.344 GB, free: 13.67 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000844/1.081, allocations: 0.6527 MB / 1.345 GB, free: 13.01 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001055/1.082, allocations: 45.7 kB / 1.345 GB, free: 12.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/1.082, allocations: 440.5 kB / 1.345 GB, free: 12.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/1.082, allocations: 358.8 kB / 1.345 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003334/1.083, allocations: 206.5 kB / 1.346 GB, free: 11.96 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.083, allocations: 402.7 kB / 1.346 GB, free: 11.56 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/1.084, allocations: 0.5016 MB / 1.347 GB, free: 11.05 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/1.086, allocations: 0.6091 MB / 1.347 GB, free: 10.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/1.089, allocations: 1.082 MB / 1.348 GB, free: 9.332 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.089, allocations: 4 kB / 1.348 GB, free: 9.328 MB / 1.076 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004016/1.093, allocations: 1.372 MB / 1.35 GB, free: 7.949 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.093, allocations: 4 kB / 1.35 GB, free: 7.945 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/1.093, allocations: 8.125 kB / 1.35 GB, free: 7.938 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000639/1.093, allocations: 80.77 kB / 1.35 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/1.095, allocations: 267.6 kB / 1.35 GB, free: 7.594 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/1.097, allocations: 1.634 MB / 1.351 GB, free: 5.809 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/1.098, allocations: 173.9 kB / 1.352 GB, free: 5.641 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/1.099, allocations: 55.89 kB / 1.352 GB, free: 5.586 MB / 1.076 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.0006855/1.099, allocations: 284.5 kB / 1.352 GB, free: 5.301 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/1.1, allocations: 94.81 kB / 1.352 GB, free: 5.207 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/1.104, allocations: 1.68 MB / 1.354 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.104, allocations: 12 kB / 1.354 GB, free: 3.5 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.104, allocations: 0 / 1.354 GB, free: 3.5 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/1.105, allocations: 3.984 kB / 1.354 GB, free: 3.496 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006225/1.111, allocations: 2.799 MB / 1.356 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/1.111, allocations: 0 / 1.356 GB, free: 0.6406 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/1.112, allocations: 255.6 kB / 1.357 GB, free: 400 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/1.113, allocations: 76.78 kB / 1.357 GB, free: 320 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/1.113, allocations: 35.91 kB / 1.357 GB, free: 284 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/1.115, allocations: 1.663 MB / 1.358 GB, free: 14.47 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.115, allocations: 3.938 kB / 1.358 GB, free: 14.46 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004184/1.119, allocations: 1.529 MB / 1.36 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006973/1.12, allocations: 323.5 kB / 1.36 GB, free: 12.58 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/1.12, allocations: 20 kB / 1.36 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/1.121, allocations: 119.9 kB / 1.36 GB, free: 12.44 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/1.122, allocations: 88.88 kB / 1.36 GB, free: 12.36 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.122, allocations: 43.97 kB / 1.36 GB, free: 12.31 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0007023/1.122, allocations: 475 kB / 1.361 GB, free: 11.85 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.9e-07/1.122, allocations: 0 / 1.361 GB, free: 11.85 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001271/1.124, allocations: 407 kB / 1.361 GB, free: 11.45 MB / 1.092 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.001669/1.125, allocations: 0.6304 MB / 1.362 GB, free: 10.99 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.003923/1.129, allocations: 1.393 MB / 1.363 GB, free: 9.582 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/1.129, allocations: 0 / 1.363 GB, free: 9.582 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/1.131, allocations: 0.8203 MB / 1.364 GB, free: 8.75 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/1.133, allocations: 312.5 kB / 1.364 GB, free: 8.465 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004955/1.138, allocations: 2.141 MB / 1.366 GB, free: 6.293 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008533/1.139, allocations: 1.095 MB / 1.368 GB, free: 5.168 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007871/1.14, allocations: 143.3 kB / 1.368 GB, free: 5.027 MB / 1.092 GB Notification: Performance of SimCode: time 1.423e-06/1.14, allocations: 0 / 1.368 GB, free: 5.027 MB / 1.092 GB Notification: Performance of Templates: time 0.03304/1.173, allocations: 22.86 MB / 1.39 GB, free: 14.21 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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