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.001915/0.001915, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002453/0.002453, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 7.789 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.336/3.336, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.002072/0.002072, allocations: 67.69 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3639, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007926/0.3718, allocations: 4.877 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.557, allocations: 132.9 MB / 1.46 GB, free: 7.617 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.558, allocations: 23.81 kB / 1.46 GB, free: 7.594 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.5588, allocations: 218 kB / 1.46 GB, free: 7.379 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.5607, allocations: 0.5977 MB / 1.461 GB, free: 6.781 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.5632, allocations: 0.9759 MB / 1.462 GB, free: 5.812 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.5652, allocations: 1.636 MB / 1.463 GB, free: 4.172 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009785/0.5662, allocations: 498.3 kB / 1.464 GB, free: 3.641 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.5672, allocations: 0.623 MB / 1.465 GB, free: 3.016 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007494/0.568, allocations: 0.591 MB / 1.465 GB, free: 2.422 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.5682, allocations: 148 kB / 1.465 GB, free: 2.277 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001079/0.5693, allocations: 0.5308 MB / 1.466 GB, free: 1.746 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.5696, allocations: 366.8 kB / 1.466 GB, free: 1.387 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/0.5702, allocations: 0.552 MB / 1.467 GB, free: 0.832 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.5726, allocations: 1.981 MB / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.5726, allocations: 0 / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5726, allocations: 4 kB / 1.469 GB, free: 14.84 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.5726, allocations: 4 kB / 1.469 GB, free: 14.84 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.003205/0.5758, allocations: 1.657 MB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5759, allocations: 12.03 kB / 1.47 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/0.5817, allocations: 0.8193 MB / 1.471 GB, free: 12.31 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001499/0.5832, allocations: 0.7884 MB / 1.472 GB, free: 11.49 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-05/0.5833, allocations: 78.2 kB / 1.472 GB, free: 11.41 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/0.5834, allocations: 108 kB / 1.472 GB, free: 11.31 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003476/0.5869, allocations: 1.687 MB / 1.474 GB, free: 9.496 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.5869, allocations: 0 / 1.474 GB, free: 9.496 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.5871, allocations: 52 kB / 1.474 GB, free: 9.445 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.5871, allocations: 28 kB / 1.474 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004812/0.5919, allocations: 1.835 MB / 1.475 GB, free: 7.574 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006414/0.5983, allocations: 2.747 MB / 1.478 GB, free: 4.77 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003457/0.6018, allocations: 1.211 MB / 1.479 GB, free: 3.555 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.6033, allocations: 0.5519 MB / 1.48 GB, free: 3 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005008/0.6038, allocations: 88.89 kB / 1.48 GB, free: 2.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/0.6058, allocations: 0.8976 MB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of pre-optimization done (n=109): time 3.105e-06/0.6058, allocations: 0 / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of matching and sorting (n=109): time 0.006383/0.6122, allocations: 1.906 MB / 1.483 GB, free: 60 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.6124, allocations: 192.9 kB / 1.483 GB, free: 15.83 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008889/0.6132, allocations: 0.6057 MB / 1.483 GB, free: 15.21 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.6133, allocations: 53.7 kB / 1.484 GB, free: 15.15 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.6138, allocations: 457.3 kB / 1.484 GB, free: 14.7 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003557/0.6141, allocations: 381 kB / 1.484 GB, free: 14.32 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.6145, allocations: 198.5 kB / 1.485 GB, free: 14.12 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002177/0.6147, allocations: 394.7 kB / 1.485 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.6163, allocations: 0.5016 MB / 1.485 GB, free: 13.23 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001807/0.6181, allocations: 0.7424 MB / 1.486 GB, free: 12.43 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003186/0.6213, allocations: 1.086 MB / 1.487 GB, free: 11.33 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.6213, allocations: 3.938 kB / 1.487 GB, free: 11.33 MB / 1.186 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004239/0.6255, allocations: 1.376 MB / 1.489 GB, free: 9.945 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.6255, allocations: 4 kB / 1.489 GB, free: 9.941 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.6256, allocations: 4 kB / 1.489 GB, free: 9.938 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/0.6262, allocations: 80.91 kB / 1.489 GB, free: 9.855 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.6276, allocations: 271.6 kB / 1.489 GB, free: 9.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.6299, allocations: 1.5 MB / 1.49 GB, free: 7.98 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6312, allocations: 155.4 kB / 1.49 GB, free: 7.828 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.6313, allocations: 47.97 kB / 1.491 GB, free: 7.781 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.0005914/0.6319, allocations: 296.1 kB / 1.491 GB, free: 7.48 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.6321, allocations: 95.33 kB / 1.491 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/0.637, allocations: 1.672 MB / 1.493 GB, free: 5.699 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.637, allocations: 12 kB / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.637, allocations: 0 / 1.493 GB, free: 5.688 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.637, allocations: 11.91 kB / 1.493 GB, free: 5.676 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006058/0.643, allocations: 2.477 MB / 1.495 GB, free: 3.152 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.643, allocations: 0 / 1.495 GB, free: 3.152 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.6444, allocations: 255.6 kB / 1.495 GB, free: 2.902 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004608/0.6449, allocations: 76.78 kB / 1.495 GB, free: 2.824 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.155e-05/0.645, allocations: 39.91 kB / 1.495 GB, free: 2.785 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.647, allocations: 1.524 MB / 1.497 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.647, allocations: 0 / 1.497 GB, free: 1.148 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/0.6516, allocations: 1.533 MB / 1.498 GB, free: 15.6 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/0.6523, allocations: 234.9 kB / 1.499 GB, free: 15.37 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002638/0.6525, allocations: 28 kB / 1.499 GB, free: 15.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.6539, allocations: 125.6 kB / 1.499 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.6541, allocations: 96.84 kB / 1.499 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.6542, allocations: 43.97 kB / 1.499 GB, free: 15.08 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007432/0.6549, allocations: 447 kB / 1.499 GB, free: 14.65 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6549, allocations: 0 / 1.499 GB, free: 14.65 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001263/0.6562, allocations: 410.9 kB / 1.5 GB, free: 14.25 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.002355/0.6585, allocations: 0.6646 MB / 1.5 GB, free: 13.79 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004048/0.6626, allocations: 1.335 MB / 1.502 GB, free: 12.44 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/0.6626, allocations: 0 / 1.502 GB, free: 12.44 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/0.6647, allocations: 0.7617 MB / 1.502 GB, free: 11.66 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.6662, allocations: 302.5 kB / 1.503 GB, free: 11.39 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.6713, allocations: 2.141 MB / 1.505 GB, free: 9.219 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.672, allocations: 0.502 MB / 1.505 GB, free: 8.684 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001408/0.6734, allocations: 343.3 kB / 1.506 GB, free: 8.344 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004944/0.6739, allocations: 127.4 kB / 1.506 GB, free: 8.219 MB / 1.201 GB Notification: Performance of SimCode: time 6.72e-07/0.6739, allocations: 0 / 1.506 GB, free: 8.219 MB / 1.201 GB Notification: Performance of Templates: time 0.03429/0.7082, allocations: 19.5 MB / 1.525 GB, free: 5.02 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 -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/jenkins/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.30448011867702]