Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 96.42 kB / 19.7 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 209.4 kB / 22.99 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.399/3.399, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|briCoe.F1|briCoe.F2",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 69.92 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3779, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007937/0.3858, allocations: 4.877 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1877/0.5735, allocations: 132.9 MB / 1.462 GB, free: 6.711 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.5747, allocations: 23.88 kB / 1.462 GB, free: 6.688 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007483/0.5754, allocations: 217.9 kB / 1.462 GB, free: 6.473 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.5775, allocations: 0.5916 MB / 1.462 GB, free: 5.883 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002732/0.5802, allocations: 0.9773 MB / 1.463 GB, free: 4.91 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001999/0.5822, allocations: 1.636 MB / 1.465 GB, free: 3.27 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009712/0.5832, allocations: 0.5101 MB / 1.465 GB, free: 2.715 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009981/0.5842, allocations: 0.623 MB / 1.466 GB, free: 2.09 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.5852, allocations: 0.6586 MB / 1.467 GB, free: 1.43 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.5855, allocations: 151.9 kB / 1.467 GB, free: 1.281 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.5867, allocations: 0.5464 MB / 1.467 GB, free: 0.7344 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004098/0.5871, allocations: 358.9 kB / 1.468 GB, free: 392 kB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.5878, allocations: 0.556 MB / 1.468 GB, free: 15.82 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.5906, allocations: 1.981 MB / 1.47 GB, free: 13.84 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5906, allocations: 0 / 1.47 GB, free: 13.84 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5906, allocations: 4 kB / 1.47 GB, free: 13.83 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.264e-05/0.5907, allocations: 4 kB / 1.47 GB, free: 13.83 MB / 1.17 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.003721/0.5944, allocations: 1.657 MB / 1.472 GB, free: 12.13 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5944, allocations: 12.03 kB / 1.472 GB, free: 12.12 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006418/0.6008, allocations: 0.8154 MB / 1.473 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.6026, allocations: 0.7884 MB / 1.473 GB, free: 10.49 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.179e-05/0.6027, allocations: 82.2 kB / 1.474 GB, free: 10.41 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001981/0.6029, allocations: 112 kB / 1.474 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003969/0.6069, allocations: 1.683 MB / 1.475 GB, free: 8.488 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.6069, allocations: 4 kB / 1.475 GB, free: 8.484 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001474/0.6071, allocations: 51.94 kB / 1.475 GB, free: 8.434 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.489e-05/0.6071, allocations: 24 kB / 1.475 GB, free: 8.41 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005182/0.6123, allocations: 1.839 MB / 1.477 GB, free: 6.562 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007013/0.6193, allocations: 2.747 MB / 1.48 GB, free: 3.762 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003601/0.6229, allocations: 1.215 MB / 1.481 GB, free: 2.543 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/0.6246, allocations: 0.5464 MB / 1.482 GB, free: 1.988 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/0.6252, allocations: 80.91 kB / 1.482 GB, free: 1.91 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002466/0.6276, allocations: 0.9092 MB / 1.482 GB, free: 0.957 MB / 1.17 GB Notification: Performance of pre-optimization done (n=109): time 3.457e-06/0.6276, allocations: 0 / 1.482 GB, free: 0.957 MB / 1.17 GB Notification: Performance of matching and sorting (n=109): time 0.006804/0.6344, allocations: 1.906 MB / 1.484 GB, free: 15.04 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.6346, allocations: 192.9 kB / 1.485 GB, free: 14.81 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.6357, allocations: 0.6057 MB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.6358, allocations: 49.7 kB / 1.485 GB, free: 14.14 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000596/0.6364, allocations: 461.3 kB / 1.486 GB, free: 13.68 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/0.6369, allocations: 376.9 kB / 1.486 GB, free: 13.31 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/0.6373, allocations: 202.5 kB / 1.486 GB, free: 13.11 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002309/0.6375, allocations: 390.7 kB / 1.487 GB, free: 12.71 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.6391, allocations: 0.5016 MB / 1.487 GB, free: 12.21 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/0.6411, allocations: 0.7386 MB / 1.488 GB, free: 11.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.6443, allocations: 1.082 MB / 1.489 GB, free: 10.33 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.6443, allocations: 3.938 kB / 1.489 GB, free: 10.33 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004884/0.6492, allocations: 1.38 MB / 1.49 GB, free: 8.941 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.6492, allocations: 4 kB / 1.49 GB, free: 8.938 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.6493, allocations: 11.94 kB / 1.49 GB, free: 8.926 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006856/0.6499, allocations: 80.91 kB / 1.49 GB, free: 8.844 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.6516, allocations: 271.6 kB / 1.491 GB, free: 8.578 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.654, allocations: 1.5 MB / 1.492 GB, free: 6.969 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.6556, allocations: 157.2 kB / 1.492 GB, free: 6.816 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.6557, allocations: 47.95 kB / 1.492 GB, free: 6.77 MB / 1.186 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.0006712/0.6564, allocations: 287.9 kB / 1.492 GB, free: 6.477 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/0.6567, allocations: 103.3 kB / 1.493 GB, free: 6.375 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005148/0.6618, allocations: 1.672 MB / 1.494 GB, free: 4.684 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6618, allocations: 15.94 kB / 1.494 GB, free: 4.668 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.6618, allocations: 4 kB / 1.494 GB, free: 4.664 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.6618, allocations: 3.984 kB / 1.494 GB, free: 4.66 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/0.6684, allocations: 2.481 MB / 1.497 GB, free: 2.137 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.6684, allocations: 0 / 1.497 GB, free: 2.137 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.6699, allocations: 255.6 kB / 1.497 GB, free: 1.887 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/0.6704, allocations: 76.72 kB / 1.497 GB, free: 1.809 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.6705, allocations: 39.91 kB / 1.497 GB, free: 1.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.6726, allocations: 1.528 MB / 1.498 GB, free: 132 kB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6726, allocations: 0 / 1.498 GB, free: 132 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004684/0.6773, allocations: 1.533 MB / 1.5 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006923/0.678, allocations: 234.9 kB / 1.5 GB, free: 14.35 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/0.6782, allocations: 31.95 kB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/0.6796, allocations: 119.9 kB / 1.5 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002408/0.6798, allocations: 92.77 kB / 1.5 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.68, allocations: 43.97 kB / 1.5 GB, free: 14.06 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007302/0.6807, allocations: 447 kB / 1.501 GB, free: 13.63 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6807, allocations: 0 / 1.501 GB, free: 13.63 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001251/0.6819, allocations: 410.9 kB / 1.501 GB, free: 13.23 MB / 1.201 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.002333/0.6843, allocations: 0.6659 MB / 1.502 GB, free: 12.77 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004225/0.6885, allocations: 1.323 MB / 1.503 GB, free: 11.44 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.6885, allocations: 4 kB / 1.503 GB, free: 11.43 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.6907, allocations: 0.7694 MB / 1.504 GB, free: 10.65 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.6921, allocations: 303.1 kB / 1.504 GB, free: 10.38 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004919/0.6971, allocations: 2.146 MB / 1.506 GB, free: 8.199 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.6977, allocations: 0.4941 MB / 1.507 GB, free: 7.672 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001441/0.6991, allocations: 339.4 kB / 1.507 GB, free: 7.336 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004743/0.6996, allocations: 127.4 kB / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of SimCode: time 1.172e-06/0.6996, allocations: 0 / 1.507 GB, free: 7.211 MB / 1.201 GB Notification: Performance of Templates: time 0.03549/0.7351, allocations: 19.8 MB / 1.527 GB, free: 3.711 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.411392117006471]