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.001545/0.001545, allocations: 112.5 kB / 15.73 MB, free: 76 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.001771/0.001771, allocations: 193 kB / 16.66 MB, free: 6.582 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.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.809/2.809, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.355, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008016/0.3631, allocations: 5.403 MB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.8931/1.256, allocations: 150.8 MB / 1.319 GB, free: 9.797 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/1.258, allocations: 19.38 kB / 1.319 GB, free: 9.789 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0007528/1.258, allocations: 207.4 kB / 1.319 GB, free: 9.672 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002153/1.261, allocations: 0.5655 MB / 1.32 GB, free: 9.414 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002552/1.263, allocations: 0.9494 MB / 1.321 GB, free: 9.242 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.00227/1.265, allocations: 1.622 MB / 1.322 GB, free: 8.941 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/1.267, allocations: 0.7445 MB / 1.323 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/1.268, allocations: 0.5888 MB / 1.324 GB, free: 8.617 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009739/1.269, allocations: 0.6515 MB / 1.324 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002529/1.269, allocations: 143.8 kB / 1.325 GB, free: 8.438 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/1.27, allocations: 0.5227 MB / 1.325 GB, free: 8.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003925/1.271, allocations: 356.6 kB / 1.325 GB, free: 8.09 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006794/1.272, allocations: 0.6702 MB / 1.326 GB, free: 7.648 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002964/1.275, allocations: 1.921 MB / 1.328 GB, free: 6.836 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.275, allocations: 4.609 kB / 1.328 GB, free: 6.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.355e-06/1.275, allocations: 6.469 kB / 1.328 GB, free: 6.828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.107e-05/1.275, allocations: 1.406 kB / 1.328 GB, free: 6.828 MB / 1.014 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.004631/1.279, allocations: 1.711 MB / 1.33 GB, free: 5.719 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 7.548e-05/1.279, allocations: 12.88 kB / 1.33 GB, free: 5.715 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/1.285, allocations: 0.7635 MB / 1.33 GB, free: 5.617 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/1.288, allocations: 0.8367 MB / 1.331 GB, free: 5.078 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/1.288, allocations: 83.39 kB / 1.331 GB, free: 5.039 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002121/1.288, allocations: 104.5 kB / 1.331 GB, free: 5.008 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00413/1.292, allocations: 1.436 MB / 1.333 GB, free: 4.43 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.292, allocations: 0 / 1.333 GB, free: 4.43 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.292, allocations: 44.41 kB / 1.333 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.266e-05/1.292, allocations: 27.12 kB / 1.333 GB, free: 4.398 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004969/1.297, allocations: 1.89 MB / 1.335 GB, free: 3.965 MB / 1.014 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.007345/1.305, allocations: 3.515 MB / 1.338 GB, free: 1.973 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/1.308, allocations: 1.377 MB / 1.339 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/1.31, allocations: 0.5952 MB / 1.34 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/1.311, allocations: 475.1 kB / 1.34 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002022/1.313, allocations: 0.8123 MB / 1.341 GB, free: 436 kB / 1.014 GB Notification: Performance of pre-optimization done (n=109): time 3.005e-06/1.313, allocations: 3.938 kB / 1.341 GB, free: 432 kB / 1.014 GB Notification: Performance of matching and sorting (n=109): time 0.006847/1.32, allocations: 1.978 MB / 1.343 GB, free: 15.69 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/1.32, allocations: 195.9 kB / 1.343 GB, free: 15.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/1.321, allocations: 0.6529 MB / 1.344 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/1.321, allocations: 47.23 kB / 1.344 GB, free: 15.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/1.322, allocations: 448.6 kB / 1.344 GB, free: 14.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/1.322, allocations: 370.4 kB / 1.345 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004067/1.322, allocations: 212.7 kB / 1.345 GB, free: 14.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.323, allocations: 393.4 kB / 1.345 GB, free: 14.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/1.324, allocations: 0.5018 MB / 1.346 GB, free: 13.89 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/1.326, allocations: 0.6133 MB / 1.347 GB, free: 13.65 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003249/1.329, allocations: 1.085 MB / 1.348 GB, free: 13.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.329, allocations: 3.938 kB / 1.348 GB, free: 13.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004409/1.334, allocations: 1.377 MB / 1.349 GB, free: 12.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/1.334, allocations: 7.625 kB / 1.349 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.334, allocations: 1.375 kB / 1.349 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006489/1.334, allocations: 88.48 kB / 1.349 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.336, allocations: 268 kB / 1.349 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.338, allocations: 1.641 MB / 1.351 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/1.34, allocations: 167.8 kB / 1.351 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/1.34, allocations: 53.8 kB / 1.351 GB, free: 10.97 MB / 1.029 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.0007468/1.341, allocations: 290.2 kB / 1.351 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/1.341, allocations: 101.3 kB / 1.351 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004917/1.346, allocations: 1.674 MB / 1.353 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.346, allocations: 16.02 kB / 1.353 GB, free: 9.766 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.346, allocations: 5.766 kB / 1.353 GB, free: 9.762 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/1.346, allocations: 3.984 kB / 1.353 GB, free: 9.758 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/1.352, allocations: 2.798 MB / 1.356 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.352, allocations: 3.938 kB / 1.356 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.354, allocations: 257.2 kB / 1.356 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004579/1.354, allocations: 75.12 kB / 1.356 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-05/1.354, allocations: 34.62 kB / 1.356 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002099/1.356, allocations: 1.652 MB / 1.358 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.356, allocations: 7.734 kB / 1.358 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/1.36, allocations: 1.541 MB / 1.359 GB, free: 5.402 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/1.361, allocations: 322.4 kB / 1.36 GB, free: 5.121 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001783/1.361, allocations: 28 kB / 1.36 GB, free: 5.102 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.362, allocations: 121.2 kB / 1.36 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/1.363, allocations: 88.34 kB / 1.36 GB, free: 5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.363, allocations: 47.25 kB / 1.36 GB, free: 4.984 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006993/1.363, allocations: 466.8 kB / 1.36 GB, free: 4.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.364, allocations: 0 / 1.36 GB, free: 4.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001714/1.365, allocations: 411.8 kB / 1.361 GB, free: 4.598 MB / 1.029 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.001623/1.367, allocations: 0.6284 MB / 1.361 GB, free: 4.297 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003806/1.371, allocations: 1.392 MB / 1.363 GB, free: 3.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.371, allocations: 3.938 kB / 1.363 GB, free: 3.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/1.373, allocations: 0.8311 MB / 1.364 GB, free: 3.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001766/1.375, allocations: 319.1 kB / 1.364 GB, free: 2.992 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00486/1.38, allocations: 2.113 MB / 1.366 GB, free: 1.77 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008539/1.38, allocations: 1.087 MB / 1.367 GB, free: 0.8945 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001443/1.382, allocations: 340.9 kB / 1.367 GB, free: 0.707 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004878/1.382, allocations: 124.9 kB / 1.367 GB, free: 0.668 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/1.382, allocations: 0 / 1.367 GB, free: 0.668 MB / 1.029 GB Notification: Performance of Templates: time 0.03579/1.418, allocations: 18.51 MB / 1.385 GB, free: 3.828 MB / 1.045 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches