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.001694/0.001694, allocations: 107.8 kB / 16.41 MB, free: 6.504 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.001795/0.001795, allocations: 188 kB / 17.34 MB, free: 5.738 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.512/1.512, allocations: 222.9 MB / 241 MB, free: 15.14 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.946/2.946, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003189/0.003189, allocations: 60.09 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.881/0.8842, allocations: 151.6 MB / 1.167 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.008108/0.8924, allocations: 5.392 MB / 1.173 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.188/1.08, allocations: 150.9 MB / 1.32 GB, free: 6.934 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008924/1.081, allocations: 19.88 kB / 1.32 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006739/1.082, allocations: 214 kB / 1.32 GB, free: 6.703 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/1.084, allocations: 0.5783 MB / 1.321 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002281/1.086, allocations: 0.9556 MB / 1.322 GB, free: 5.176 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.002193/1.089, allocations: 1.62 MB / 1.323 GB, free: 3.547 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001183/1.09, allocations: 0.7508 MB / 1.324 GB, free: 2.766 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008972/1.091, allocations: 0.5956 MB / 1.325 GB, free: 2.168 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008684/1.091, allocations: 0.6458 MB / 1.325 GB, free: 1.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/1.092, allocations: 144 kB / 1.325 GB, free: 1.379 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/1.093, allocations: 0.5269 MB / 1.326 GB, free: 0.8516 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000363/1.093, allocations: 354.9 kB / 1.326 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0007004/1.094, allocations: 0.6764 MB / 1.327 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/1.096, allocations: 1.923 MB / 1.329 GB, free: 13.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.097, allocations: 4 kB / 1.329 GB, free: 13.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.543e-06/1.097, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.979e-05/1.097, allocations: 0 / 1.329 GB, free: 13.89 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.003375/1.1, allocations: 1.715 MB / 1.33 GB, free: 12.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.1, allocations: 12.92 kB / 1.33 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/1.105, allocations: 0.7647 MB / 1.331 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/1.107, allocations: 0.8325 MB / 1.332 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/1.107, allocations: 82.2 kB / 1.332 GB, free: 10.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/1.108, allocations: 104 kB / 1.332 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003589/1.111, allocations: 1.432 MB / 1.333 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/1.111, allocations: 3.938 kB / 1.333 GB, free: 8.781 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/1.111, allocations: 48 kB / 1.334 GB, free: 8.734 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/1.111, allocations: 28 kB / 1.334 GB, free: 8.707 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004993/1.116, allocations: 1.885 MB / 1.335 GB, free: 6.812 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.007667/1.124, allocations: 3.52 MB / 1.339 GB, free: 3.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003622/1.128, allocations: 1.373 MB / 1.34 GB, free: 1.766 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/1.129, allocations: 0.5985 MB / 1.341 GB, free: 1.16 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007298/1.13, allocations: 482.5 kB / 1.341 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001992/1.132, allocations: 0.8127 MB / 1.342 GB, free: 15.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=109): time 2.905e-06/1.132, allocations: 0 / 1.342 GB, free: 15.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=109): time 0.006818/1.139, allocations: 1.977 MB / 1.344 GB, free: 13.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001755/1.139, allocations: 188.9 kB / 1.344 GB, free: 13.53 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/1.14, allocations: 0.6489 MB / 1.345 GB, free: 12.88 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001455/1.141, allocations: 49.7 kB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004929/1.141, allocations: 445.4 kB / 1.345 GB, free: 12.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/1.142, allocations: 380.7 kB / 1.346 GB, free: 12.01 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004069/1.142, allocations: 210.5 kB / 1.346 GB, free: 11.8 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002291/1.142, allocations: 394.7 kB / 1.346 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.144, allocations: 0.5055 MB / 1.347 GB, free: 10.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00164/1.145, allocations: 0.6131 MB / 1.347 GB, free: 10.27 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/1.149, allocations: 1.078 MB / 1.348 GB, free: 9.172 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.149, allocations: 4 kB / 1.348 GB, free: 9.168 MB / 1.076 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004212/1.153, allocations: 1.38 MB / 1.35 GB, free: 7.781 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.153, allocations: 4 kB / 1.35 GB, free: 7.777 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.153, allocations: 0 / 1.35 GB, free: 7.777 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/1.153, allocations: 88.89 kB / 1.35 GB, free: 7.688 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/1.155, allocations: 271.5 kB / 1.35 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/1.157, allocations: 1.63 MB / 1.352 GB, free: 5.641 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/1.159, allocations: 169.8 kB / 1.352 GB, free: 5.477 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/1.159, allocations: 51.95 kB / 1.352 GB, free: 5.426 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.0006103/1.16, allocations: 288.5 kB / 1.352 GB, free: 5.137 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000232/1.16, allocations: 99.58 kB / 1.352 GB, free: 5.039 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004835/1.165, allocations: 1.68 MB / 1.354 GB, free: 3.344 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.165, allocations: 15.94 kB / 1.354 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.165, allocations: 0 / 1.354 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.165, allocations: 3.984 kB / 1.354 GB, free: 3.324 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006154/1.171, allocations: 2.807 MB / 1.357 GB, free: 472 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.171, allocations: 4 kB / 1.357 GB, free: 468 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/1.172, allocations: 251.6 kB / 1.357 GB, free: 216 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000448/1.173, allocations: 68.78 kB / 1.357 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/1.173, allocations: 39.97 kB / 1.357 GB, free: 104 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002183/1.175, allocations: 1.663 MB / 1.359 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.175, allocations: 3.938 kB / 1.359 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004498/1.18, allocations: 1.533 MB / 1.36 GB, free: 12.73 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006647/1.18, allocations: 320 kB / 1.36 GB, free: 12.4 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/1.181, allocations: 27.94 kB / 1.36 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.182, allocations: 123.9 kB / 1.361 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.182, allocations: 88.81 kB / 1.361 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.182, allocations: 51.97 kB / 1.361 GB, free: 12.12 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0006665/1.183, allocations: 471 kB / 1.361 GB, free: 11.66 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.183, allocations: 0 / 1.361 GB, free: 11.66 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001245/1.184, allocations: 410.9 kB / 1.361 GB, free: 11.26 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.002021/1.186, allocations: 0.6325 MB / 1.362 GB, free: 10.79 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00419/1.19, allocations: 1.386 MB / 1.363 GB, free: 9.387 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.19, allocations: 0 / 1.363 GB, free: 9.387 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/1.193, allocations: 0.828 MB / 1.364 GB, free: 8.547 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.194, allocations: 323.7 kB / 1.365 GB, free: 8.258 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/1.199, allocations: 2.122 MB / 1.367 GB, free: 6.109 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007798/1.2, allocations: 1.096 MB / 1.368 GB, free: 4.98 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001402/1.201, allocations: 335.8 kB / 1.368 GB, free: 4.648 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004326/1.201, allocations: 123.4 kB / 1.368 GB, free: 4.527 MB / 1.092 GB Notification: Performance of SimCode: time 9.51e-07/1.201, allocations: 0 / 1.368 GB, free: 4.527 MB / 1.092 GB Notification: Performance of Templates: time 0.03427/1.236, allocations: 18.56 MB / 1.386 GB, free: 2.121 MB / 1.107 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 -s cvode -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) Reference file matches