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.00798/0.00798, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001339/0.001339, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 64.12 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8349, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007782/0.8427, allocations: 5.394 MB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1745/1.017, allocations: 150.8 MB / 1.36 GB, free: 0.8203 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/1.019, allocations: 15.94 kB / 1.36 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/1.02, allocations: 210 kB / 1.36 GB, free: 0.5977 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/1.022, allocations: 0.574 MB / 1.361 GB, free: 24 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00274/1.025, allocations: 0.9498 MB / 1.362 GB, free: 15.07 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002406/1.027, allocations: 1.624 MB / 1.364 GB, free: 13.45 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/1.029, allocations: 0.7396 MB / 1.364 GB, free: 12.67 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/1.03, allocations: 0.5956 MB / 1.365 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008229/1.031, allocations: 0.6536 MB / 1.366 GB, free: 11.42 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/1.031, allocations: 144 kB / 1.366 GB, free: 11.28 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/1.032, allocations: 0.5268 MB / 1.366 GB, free: 10.75 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/1.032, allocations: 354.9 kB / 1.366 GB, free: 10.4 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005779/1.033, allocations: 0.6763 MB / 1.367 GB, free: 9.723 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/1.035, allocations: 1.91 MB / 1.369 GB, free: 7.809 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.035, allocations: 0 / 1.369 GB, free: 7.809 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.423e-06/1.035, allocations: 0 / 1.369 GB, free: 7.809 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.155e-05/1.035, allocations: 4 kB / 1.369 GB, free: 7.805 MB / 1.092 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.003151/1.038, allocations: 1.678 MB / 1.371 GB, free: 6.074 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/1.038, allocations: 8.031 kB / 1.371 GB, free: 6.066 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005333/1.044, allocations: 0.7561 MB / 1.371 GB, free: 5.309 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001543/1.045, allocations: 0.8319 MB / 1.372 GB, free: 4.43 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.01e-05/1.045, allocations: 86.2 kB / 1.372 GB, free: 4.344 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/1.045, allocations: 103.9 kB / 1.372 GB, free: 4.242 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003337/1.049, allocations: 1.436 MB / 1.374 GB, free: 2.742 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/1.049, allocations: 0 / 1.374 GB, free: 2.742 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/1.049, allocations: 44 kB / 1.374 GB, free: 2.699 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.253e-05/1.049, allocations: 28 kB / 1.374 GB, free: 2.672 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004767/1.054, allocations: 1.889 MB / 1.376 GB, free: 0.7734 MB / 1.092 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.006633/1.06, allocations: 3.495 MB / 1.379 GB, free: 13.15 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/1.064, allocations: 1.373 MB / 1.38 GB, free: 11.75 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/1.066, allocations: 0.601 MB / 1.381 GB, free: 11.14 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007341/1.066, allocations: 482.5 kB / 1.382 GB, free: 10.58 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001968/1.068, allocations: 0.8088 MB / 1.382 GB, free: 9.754 MB / 1.107 GB Notification: Performance of pre-optimization done (n=109): time 3.106e-06/1.068, allocations: 0 / 1.382 GB, free: 9.754 MB / 1.107 GB Notification: Performance of matching and sorting (n=109): time 0.006337/1.075, allocations: 1.973 MB / 1.384 GB, free: 7.754 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/1.075, allocations: 192.9 kB / 1.384 GB, free: 7.523 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/1.076, allocations: 0.6527 MB / 1.385 GB, free: 6.863 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.947e-05/1.076, allocations: 49.7 kB / 1.385 GB, free: 6.809 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/1.076, allocations: 432.5 kB / 1.386 GB, free: 6.379 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003307/1.077, allocations: 366.8 kB / 1.386 GB, free: 6.016 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003845/1.077, allocations: 202.5 kB / 1.386 GB, free: 5.809 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001924/1.077, allocations: 398.7 kB / 1.386 GB, free: 5.41 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.079, allocations: 0.4977 MB / 1.387 GB, free: 4.914 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/1.08, allocations: 0.6169 MB / 1.388 GB, free: 4.281 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/1.084, allocations: 1.086 MB / 1.389 GB, free: 3.18 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/1.084, allocations: 0 / 1.389 GB, free: 3.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004266/1.088, allocations: 1.383 MB / 1.39 GB, free: 1.789 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/1.088, allocations: 8 kB / 1.39 GB, free: 1.781 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/1.088, allocations: 64 / 1.39 GB, free: 1.781 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/1.089, allocations: 84.91 kB / 1.39 GB, free: 1.695 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001445/1.09, allocations: 271.6 kB / 1.39 GB, free: 1.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/1.092, allocations: 1.633 MB / 1.392 GB, free: 15.65 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/1.094, allocations: 167.1 kB / 1.392 GB, free: 15.49 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.094, allocations: 47.95 kB / 1.392 GB, free: 15.44 MB / 1.123 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.0006081/1.095, allocations: 287.3 kB / 1.392 GB, free: 15.15 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.095, allocations: 102.8 kB / 1.392 GB, free: 15.05 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/1.1, allocations: 1.664 MB / 1.394 GB, free: 13.37 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.1, allocations: 15.98 kB / 1.394 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.1, allocations: 0 / 1.394 GB, free: 13.36 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.1, allocations: 7.984 kB / 1.394 GB, free: 13.35 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/1.106, allocations: 2.81 MB / 1.397 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.106, allocations: 0 / 1.397 GB, free: 10.48 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001378/1.108, allocations: 255.6 kB / 1.397 GB, free: 10.23 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000479/1.108, allocations: 76.78 kB / 1.397 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/1.108, allocations: 27.97 kB / 1.397 GB, free: 10.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001926/1.11, allocations: 1.666 MB / 1.399 GB, free: 8.297 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/1.11, allocations: 7.922 kB / 1.399 GB, free: 8.289 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004538/1.115, allocations: 1.529 MB / 1.4 GB, free: 6.742 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/1.116, allocations: 315.5 kB / 1.401 GB, free: 6.414 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/1.116, allocations: 24 kB / 1.401 GB, free: 6.391 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/1.117, allocations: 127.9 kB / 1.401 GB, free: 6.266 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/1.117, allocations: 80.88 kB / 1.401 GB, free: 6.184 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/1.118, allocations: 47.97 kB / 1.401 GB, free: 6.137 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0006721/1.118, allocations: 467 kB / 1.401 GB, free: 5.688 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.91e-07/1.118, allocations: 4 kB / 1.401 GB, free: 5.684 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001229/1.12, allocations: 403 kB / 1.402 GB, free: 5.289 MB / 1.123 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.001809/1.121, allocations: 0.6293 MB / 1.402 GB, free: 4.836 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004581/1.126, allocations: 1.393 MB / 1.404 GB, free: 3.434 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.126, allocations: 4 kB / 1.404 GB, free: 3.43 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/1.128, allocations: 0.8086 MB / 1.404 GB, free: 2.609 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/1.13, allocations: 317.9 kB / 1.405 GB, free: 2.312 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005173/1.135, allocations: 2.095 MB / 1.407 GB, free: 196 kB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008776/1.136, allocations: 1.088 MB / 1.408 GB, free: 15.08 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001288/1.137, allocations: 335.7 kB / 1.408 GB, free: 14.75 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/1.138, allocations: 131.4 kB / 1.408 GB, free: 14.62 MB / 1.139 GB Notification: Performance of SimCode: time 1.212e-06/1.138, allocations: 0 / 1.408 GB, free: 14.62 MB / 1.139 GB Notification: Performance of Templates: time 0.0326/1.17, allocations: 18.85 MB / 1.427 GB, free: 11.98 MB / 1.154 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