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.001843/0.001844, allocations: 105.2 kB / 15.99 MB, free: 6.355 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.001673/0.001673, allocations: 199.1 kB / 16.91 MB, free: 6.188 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.498/1.498, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 469.8 MB / 0.7427 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 60.73 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.334, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007354/0.3414, allocations: 5.378 MB / 1.069 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.7507/1.092, allocations: 148.6 MB / 1.215 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/1.093, allocations: 15.97 kB / 1.215 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009171/1.094, allocations: 163.3 kB / 1.215 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002156/1.096, allocations: 0.4993 MB / 1.215 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/1.099, allocations: 0.8513 MB / 1.216 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002337/1.101, allocations: 1.604 MB / 1.218 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001461/1.103, allocations: 0.7453 MB / 1.218 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/1.104, allocations: 0.593 MB / 1.219 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001176/1.105, allocations: 0.6468 MB / 1.22 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0004001/1.105, allocations: 142.8 kB / 1.22 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/1.107, allocations: 0.4955 MB / 1.22 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0005161/1.107, allocations: 366.6 kB / 1.22 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/1.108, allocations: 0.6679 MB / 1.221 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/1.11, allocations: 1.429 MB / 1.223 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/1.11, allocations: 2.5 kB / 1.223 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.395e-06/1.11, allocations: 0 / 1.223 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.532e-05/1.111, allocations: 0 / 1.223 GB, free: 5.395 MB / 0.9356 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.004235/1.115, allocations: 1.664 MB / 1.224 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.115, allocations: 10.78 kB / 1.224 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/1.12, allocations: 0.7571 MB / 1.225 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/1.122, allocations: 0.8138 MB / 1.226 GB, free: 3.117 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/1.122, allocations: 83.52 kB / 1.226 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/1.122, allocations: 107.7 kB / 1.226 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003772/1.126, allocations: 1.437 MB / 1.227 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/1.126, allocations: 0 / 1.227 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/1.126, allocations: 48 kB / 1.227 GB, free: 1.773 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.022e-05/1.126, allocations: 28 kB / 1.227 GB, free: 1.746 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005036/1.131, allocations: 1.889 MB / 1.229 GB, free: 15.85 MB / 0.9512 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.007359/1.139, allocations: 3.532 MB / 1.233 GB, free: 12.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/1.142, allocations: 1.384 MB / 1.234 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/1.144, allocations: 0.5972 MB / 1.235 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007477/1.145, allocations: 482.3 kB / 1.235 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002092/1.147, allocations: 0.8088 MB / 1.236 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=109): time 2.885e-06/1.147, allocations: 0 / 1.236 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of matching and sorting (n=109): time 0.00635/1.153, allocations: 1.977 MB / 1.238 GB, free: 6.785 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.153, allocations: 188.9 kB / 1.238 GB, free: 6.555 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/1.154, allocations: 0.6605 MB / 1.239 GB, free: 5.883 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/1.155, allocations: 45.7 kB / 1.239 GB, free: 5.832 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004247/1.155, allocations: 436.5 kB / 1.239 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003687/1.155, allocations: 358.8 kB / 1.239 GB, free: 5.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004071/1.156, allocations: 202.5 kB / 1.24 GB, free: 4.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002146/1.156, allocations: 394.7 kB / 1.24 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.158, allocations: 0.5079 MB / 1.24 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.159, allocations: 0.6131 MB / 1.241 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003109/1.162, allocations: 1.078 MB / 1.242 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/1.162, allocations: 3.938 kB / 1.242 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004195/1.167, allocations: 1.38 MB / 1.243 GB, free: 0.8242 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.167, allocations: 4 kB / 1.243 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/1.167, allocations: 0 / 1.243 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/1.167, allocations: 88.84 kB / 1.244 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/1.169, allocations: 271.6 kB / 1.244 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/1.171, allocations: 1.636 MB / 1.245 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.173, allocations: 170.2 kB / 1.246 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/1.173, allocations: 43.97 kB / 1.246 GB, free: 14.48 MB / 0.9669 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.0006675/1.173, allocations: 299.3 kB / 1.246 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/1.174, allocations: 94.81 kB / 1.246 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0049/1.179, allocations: 1.674 MB / 1.248 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.179, allocations: 12 kB / 1.248 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.179, allocations: 4 kB / 1.248 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.179, allocations: 7.969 kB / 1.248 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/1.185, allocations: 2.785 MB / 1.25 GB, free: 9.531 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/1.185, allocations: 3.938 kB / 1.25 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.187, allocations: 259.6 kB / 1.251 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004679/1.187, allocations: 68.8 kB / 1.251 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.187, allocations: 35.97 kB / 1.251 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/1.189, allocations: 1.662 MB / 1.252 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.189, allocations: 0 / 1.252 GB, free: 7.359 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00439/1.194, allocations: 1.531 MB / 1.254 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/1.194, allocations: 323.4 kB / 1.254 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002587/1.195, allocations: 24 kB / 1.254 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.196, allocations: 134.1 kB / 1.254 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/1.196, allocations: 85.02 kB / 1.254 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/1.196, allocations: 47.95 kB / 1.254 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0007863/1.197, allocations: 470.8 kB / 1.255 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.71e-07/1.197, allocations: 0 / 1.255 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001328/1.199, allocations: 407 kB / 1.255 GB, free: 4.336 MB / 0.9669 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.002169/1.201, allocations: 0.628 MB / 1.256 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005262/1.206, allocations: 1.664 MB / 1.257 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/1.206, allocations: 0 / 1.257 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002199/1.208, allocations: 0.8202 MB / 1.258 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/1.21, allocations: 325.7 kB / 1.259 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005468/1.216, allocations: 2.662 MB / 1.261 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009881/1.217, allocations: 1.076 MB / 1.262 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007155/1.217, allocations: 155.3 kB / 1.262 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of SimCode: time 9.32e-07/1.217, allocations: 0 / 1.262 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.03685/1.254, allocations: 22.72 MB / 1.285 GB, free: 6.531 MB / 0.9981 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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