Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007887/0.007887, allocations: 100.6 kB / 15.73 MB, free: 6.492 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.001602/0.001602, allocations: 193.1 kB / 16.68 MB, free: 6.371 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.846/2.846, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 67.88 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3516, allocations: 159.1 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007683/0.3593, allocations: 5.398 MB / 1.226 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8147/1.174, allocations: 151.3 MB / 1.374 GB, free: 10.33 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001442/1.175, allocations: 20.59 kB / 1.374 GB, free: 10.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/1.177, allocations: 209.5 kB / 1.374 GB, free: 10.18 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003436/1.18, allocations: 0.5844 MB / 1.374 GB, free: 9.844 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/1.183, allocations: 0.9499 MB / 1.375 GB, free: 9.355 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00294/1.186, allocations: 1.614 MB / 1.377 GB, free: 8.543 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/1.187, allocations: 0.5185 MB / 1.377 GB, free: 8.215 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/1.189, allocations: 0.5935 MB / 1.378 GB, free: 7.926 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/1.19, allocations: 0.6486 MB / 1.379 GB, free: 7.598 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000559/1.191, allocations: 147 kB / 1.379 GB, free: 7.594 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001703/1.192, allocations: 0.521 MB / 1.379 GB, free: 7.469 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006418/1.193, allocations: 360.8 kB / 1.38 GB, free: 7.242 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001835/1.195, allocations: 0.6691 MB / 1.38 GB, free: 6.801 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005628/1.2, allocations: 1.924 MB / 1.382 GB, free: 5.441 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/1.2, allocations: 1.219 kB / 1.382 GB, free: 5.441 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.905e-06/1.2, allocations: 0 / 1.382 GB, free: 5.441 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001454/1.201, allocations: 0 / 1.382 GB, free: 5.441 MB / 1.076 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.006038/1.207, allocations: 1.717 MB / 1.384 GB, free: 4.125 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.207, allocations: 10.09 kB / 1.384 GB, free: 4.125 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005795/1.212, allocations: 0.7616 MB / 1.385 GB, free: 3.777 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/1.215, allocations: 0.838 MB / 1.385 GB, free: 3.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/1.215, allocations: 82.77 kB / 1.385 GB, free: 3.051 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004035/1.215, allocations: 103.6 kB / 1.386 GB, free: 3.02 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004343/1.22, allocations: 1.438 MB / 1.387 GB, free: 2.121 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/1.22, allocations: 0 / 1.387 GB, free: 2.121 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/1.22, allocations: 48.69 kB / 1.387 GB, free: 2.086 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/1.22, allocations: 26.47 kB / 1.387 GB, free: 2.086 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005141/1.225, allocations: 1.892 MB / 1.389 GB, free: 1.188 MB / 1.076 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.007772/1.233, allocations: 3.51 MB / 1.392 GB, free: 14.47 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003584/1.236, allocations: 1.301 MB / 1.394 GB, free: 13.76 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001578/1.238, allocations: 0.5421 MB / 1.394 GB, free: 13.49 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007186/1.239, allocations: 477.4 kB / 1.395 GB, free: 12.98 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002048/1.241, allocations: 0.815 MB / 1.395 GB, free: 12.48 MB / 1.092 GB Notification: Performance of pre-optimization done (n=109): time 5.05e-06/1.241, allocations: 5.125 kB / 1.395 GB, free: 12.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=109): time 0.006587/1.247, allocations: 1.973 MB / 1.397 GB, free: 11.46 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/1.247, allocations: 197.1 kB / 1.397 GB, free: 11.24 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.249, allocations: 0.6583 MB / 1.398 GB, free: 10.85 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001802/1.249, allocations: 43.42 kB / 1.398 GB, free: 10.81 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005356/1.25, allocations: 442.6 kB / 1.399 GB, free: 10.42 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/1.25, allocations: 377.5 kB / 1.399 GB, free: 10.09 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005137/1.251, allocations: 204.1 kB / 1.399 GB, free: 9.973 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002415/1.251, allocations: 394.3 kB / 1.4 GB, free: 9.598 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/1.252, allocations: 0.506 MB / 1.4 GB, free: 9.348 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/1.254, allocations: 0.6194 MB / 1.401 GB, free: 9.008 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003049/1.257, allocations: 1.079 MB / 1.402 GB, free: 8.453 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.257, allocations: 3.938 kB / 1.402 GB, free: 8.449 MB / 1.092 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004271/1.261, allocations: 1.375 MB / 1.403 GB, free: 7.77 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/1.261, allocations: 5.062 kB / 1.403 GB, free: 7.77 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/1.261, allocations: 2.344 kB / 1.403 GB, free: 7.77 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006496/1.262, allocations: 84.89 kB / 1.403 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.264, allocations: 270.5 kB / 1.403 GB, free: 7.652 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/1.266, allocations: 1.64 MB / 1.405 GB, free: 6.035 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.267, allocations: 165.2 kB / 1.405 GB, free: 5.941 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/1.268, allocations: 55.52 kB / 1.405 GB, free: 5.918 MB / 1.092 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.0007856/1.268, allocations: 287.9 kB / 1.405 GB, free: 5.695 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004475/1.269, allocations: 100.8 kB / 1.406 GB, free: 5.641 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00494/1.274, allocations: 1.679 MB / 1.407 GB, free: 4.723 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.274, allocations: 10.59 kB / 1.407 GB, free: 4.723 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.274, allocations: 0 / 1.407 GB, free: 4.723 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/1.274, allocations: 3.984 kB / 1.407 GB, free: 4.719 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006516/1.28, allocations: 2.799 MB / 1.41 GB, free: 2.531 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/1.28, allocations: 7.938 kB / 1.41 GB, free: 2.523 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.282, allocations: 255.6 kB / 1.41 GB, free: 2.273 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004744/1.282, allocations: 72.78 kB / 1.41 GB, free: 2.199 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/1.282, allocations: 35.97 kB / 1.41 GB, free: 2.164 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/1.284, allocations: 1.662 MB / 1.412 GB, free: 364 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.284, allocations: 4.062 kB / 1.412 GB, free: 360 kB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/1.289, allocations: 1.534 MB / 1.413 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/1.289, allocations: 320 kB / 1.414 GB, free: 14.46 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/1.29, allocations: 35.95 kB / 1.414 GB, free: 14.43 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.291, allocations: 119.9 kB / 1.414 GB, free: 14.31 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/1.291, allocations: 84.88 kB / 1.414 GB, free: 14.23 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.291, allocations: 47.97 kB / 1.414 GB, free: 14.18 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007543/1.292, allocations: 467 kB / 1.414 GB, free: 13.73 MB / 1.107 GB Notification: Performance of sort global known variables: time 8.1e-08/1.292, allocations: 0 / 1.414 GB, free: 13.73 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001345/1.293, allocations: 411 kB / 1.415 GB, free: 13.32 MB / 1.107 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.001585/1.295, allocations: 0.6327 MB / 1.415 GB, free: 12.88 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003774/1.299, allocations: 1.331 MB / 1.417 GB, free: 11.54 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.299, allocations: 0 / 1.417 GB, free: 11.54 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/1.301, allocations: 0.7733 MB / 1.417 GB, free: 10.75 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.302, allocations: 320.5 kB / 1.418 GB, free: 10.46 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004541/1.307, allocations: 2.13 MB / 1.42 GB, free: 8.301 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007744/1.308, allocations: 1.088 MB / 1.421 GB, free: 7.18 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001493/1.309, allocations: 339.7 kB / 1.421 GB, free: 6.844 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/1.31, allocations: 127.4 kB / 1.421 GB, free: 6.719 MB / 1.107 GB Notification: Performance of SimCode: time 1.122e-06/1.31, allocations: 0 / 1.421 GB, free: 6.719 MB / 1.107 GB Notification: Performance of Templates: time 0.03294/1.343, allocations: 18.58 MB / 1.44 GB, free: 4.363 MB / 1.123 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches