Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001782/0.001782, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002123/0.002123, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.9/2.9, allocations: 0.5003 GB / 0.8026 GB, free: 6.695 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient",fmuType="cs",version="2.0",platforms={"static"}) [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.001985/0.001985, allocations: 59.91 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8921/0.8941, allocations: 178.9 MB / 1.34 GB, free: 16.32 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005935/0.9, allocations: 5.46 MB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1934/1.093, allocations: 154.2 MB / 1.496 GB, free: 7.773 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/1.095, allocations: 24.22 kB / 1.496 GB, free: 7.762 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009034/1.095, allocations: 211.9 kB / 1.496 GB, free: 7.574 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/1.098, allocations: 0.6016 MB / 1.497 GB, free: 7.117 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/1.101, allocations: 0.9614 MB / 1.498 GB, free: 6.387 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002371/1.103, allocations: 1.641 MB / 1.499 GB, free: 5.109 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/1.104, allocations: 0.521 MB / 1.5 GB, free: 4.547 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/1.105, allocations: 0.6152 MB / 1.501 GB, free: 3.93 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009935/1.106, allocations: 0.6691 MB / 1.501 GB, free: 3.258 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003207/1.106, allocations: 148 kB / 1.501 GB, free: 3.113 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/1.108, allocations: 0.5542 MB / 1.502 GB, free: 2.559 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000399/1.108, allocations: 362.8 kB / 1.502 GB, free: 2.203 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008311/1.109, allocations: 0.6841 MB / 1.503 GB, free: 1.516 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/1.112, allocations: 1.957 MB / 1.505 GB, free: 15.55 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/1.112, allocations: 3.984 kB / 1.505 GB, free: 15.55 MB / 1.186 GB Notification: Performance of FrontEnd: time 6.732e-06/1.112, allocations: 7.938 kB / 1.505 GB, free: 15.54 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.793e-05/1.112, allocations: 0 / 1.505 GB, free: 15.54 MB / 1.186 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.003767/1.116, allocations: 1.744 MB / 1.506 GB, free: 13.74 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.116, allocations: 12.62 kB / 1.506 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.14e-05/1.116, allocations: 38.33 kB / 1.507 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002093/1.116, allocations: 165.1 kB / 1.507 GB, free: 13.52 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01558/1.132, allocations: 2.353 MB / 1.509 GB, free: 11.16 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/1.134, allocations: 0.8797 MB / 1.51 GB, free: 10.24 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/1.134, allocations: 78.2 kB / 1.51 GB, free: 10.16 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/1.134, allocations: 112 kB / 1.51 GB, free: 10.05 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008061/1.143, allocations: 2.294 MB / 1.512 GB, free: 7.695 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/1.143, allocations: 7.938 kB / 1.512 GB, free: 7.688 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/1.143, allocations: 48 kB / 1.512 GB, free: 7.641 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/1.143, allocations: 24 kB / 1.512 GB, free: 7.617 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01298/1.156, allocations: 3.505 MB / 1.516 GB, free: 4.102 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01277/1.169, allocations: 5.965 MB / 1.522 GB, free: 13.35 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007943/1.176, allocations: 2.1 MB / 1.524 GB, free: 11.23 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005756/1.182, allocations: 1.356 MB / 1.525 GB, free: 9.871 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/1.182, allocations: 49.02 kB / 1.525 GB, free: 9.824 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00633/1.189, allocations: 1.66 MB / 1.527 GB, free: 8.148 MB / 1.201 GB Notification: Performance of pre-optimization done (n=109): time 3.106e-06/1.189, allocations: 0 / 1.527 GB, free: 8.148 MB / 1.201 GB Notification: Performance of matching and sorting (n=109): time 0.01884/1.208, allocations: 4.284 MB / 1.531 GB, free: 3.832 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/1.208, allocations: 196.9 kB / 1.531 GB, free: 3.598 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.209, allocations: 0.6763 MB / 1.532 GB, free: 2.914 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002628/1.209, allocations: 49.7 kB / 1.532 GB, free: 2.859 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004261/1.209, allocations: 453.4 kB / 1.532 GB, free: 2.41 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/1.21, allocations: 368.8 kB / 1.533 GB, free: 2.047 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000515/1.211, allocations: 202.5 kB / 1.533 GB, free: 1.844 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002171/1.211, allocations: 398.7 kB / 1.533 GB, free: 1.445 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005737/1.216, allocations: 1.29 MB / 1.534 GB, free: 156 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005838/1.222, allocations: 1.417 MB / 1.536 GB, free: 14.71 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/1.233, allocations: 2.424 MB / 1.538 GB, free: 12.27 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.233, allocations: 0 / 1.538 GB, free: 12.27 MB / 1.217 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01236/1.245, allocations: 2.836 MB / 1.541 GB, free: 9.418 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/1.245, allocations: 4 kB / 1.541 GB, free: 9.414 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.245, allocations: 7.938 kB / 1.541 GB, free: 9.406 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006615/1.246, allocations: 84.83 kB / 1.541 GB, free: 9.32 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003399/1.249, allocations: 0.5658 MB / 1.542 GB, free: 8.754 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002442/1.252, allocations: 1.634 MB / 1.543 GB, free: 6.973 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.255, allocations: 477 kB / 1.544 GB, free: 6.508 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002429/1.255, allocations: 47.95 kB / 1.544 GB, free: 6.461 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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 (116): * Single equations (assignments): 115 * 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.00079/1.256, allocations: 297.4 kB / 1.544 GB, free: 6.16 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/1.257, allocations: 99.39 kB / 1.544 GB, free: 6.062 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01321/1.27, allocations: 3.234 MB / 1.547 GB, free: 2.816 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/1.27, allocations: 12 kB / 1.547 GB, free: 2.805 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/1.27, allocations: 0 / 1.547 GB, free: 2.805 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.533e-05/1.27, allocations: 7.922 kB / 1.547 GB, free: 2.797 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/1.286, allocations: 5.246 MB / 1.552 GB, free: 13.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.286, allocations: 0 / 1.552 GB, free: 13.18 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003431/1.289, allocations: 0.5658 MB / 1.553 GB, free: 12.61 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/1.29, allocations: 72.78 kB / 1.553 GB, free: 12.54 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000286/1.29, allocations: 39.95 kB / 1.553 GB, free: 12.5 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002213/1.292, allocations: 1.666 MB / 1.555 GB, free: 10.69 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.292, allocations: 0 / 1.555 GB, free: 10.69 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01246/1.305, allocations: 3.036 MB / 1.558 GB, free: 7.629 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007443/1.305, allocations: 351.9 kB / 1.558 GB, free: 7.266 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002885/1.306, allocations: 28.06 kB / 1.558 GB, free: 7.238 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003244/1.309, allocations: 439.6 kB / 1.558 GB, free: 6.809 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/1.309, allocations: 84.88 kB / 1.558 GB, free: 6.727 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/1.309, allocations: 51.95 kB / 1.558 GB, free: 6.676 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007982/1.31, allocations: 491 kB / 1.559 GB, free: 6.199 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/1.31, allocations: 0 / 1.559 GB, free: 6.199 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001359/1.311, allocations: 419 kB / 1.559 GB, free: 5.789 MB / 1.232 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.01462/1.326, allocations: 4.107 MB / 1.563 GB, free: 1.84 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.339, allocations: 2.931 MB / 1.566 GB, free: 14.89 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.339, allocations: 0 / 1.566 GB, free: 14.89 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.006359/1.345, allocations: 1.581 MB / 1.568 GB, free: 13.3 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001781/1.347, allocations: 317.5 kB / 1.568 GB, free: 13.02 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04409/1.391, allocations: 13.07 MB / 1.581 GB, free: 15.79 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008767/1.392, allocations: 1.096 MB / 1.582 GB, free: 14.66 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001789/1.393, allocations: 383.9 kB / 1.582 GB, free: 14.28 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/1.394, allocations: 479.2 kB / 1.583 GB, free: 13.81 MB / 1.264 GB Notification: Performance of SimCode: time 7.11e-07/1.394, allocations: 0 / 1.583 GB, free: 13.81 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06506/1.46, allocations: 28.09 MB / 1.61 GB, free: 2.09 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/15.69, allocations: 20.84 kB / 1.61 GB, free: 2.07 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient_fmu --startTime=0 --stopTime=8.64e+06 --stepSize=3456 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_BrighteningCoefficient.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.326411627989728]