Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.0022/0.0022, 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.0027/0.0027, 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.508/1.508, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7678 GB, free: 9.387 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.002012/0.002012, allocations: 59.91 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9375/0.9396, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007505/0.9471, allocations: 4.845 MB / 1.284 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1926/1.14, allocations: 154 MB / 1.434 GB, free: 13.12 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/1.141, allocations: 23.81 kB / 1.434 GB, free: 13.1 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007946/1.142, allocations: 198.2 kB / 1.434 GB, free: 12.91 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/1.144, allocations: 0.5514 MB / 1.435 GB, free: 12.36 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002361/1.147, allocations: 0.856 MB / 1.436 GB, free: 11.5 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001935/1.148, allocations: 1.386 MB / 1.437 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007696/1.149, allocations: 417.3 kB / 1.437 GB, free: 9.68 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008682/1.15, allocations: 0.5022 MB / 1.438 GB, free: 9.176 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/1.151, allocations: 0.5057 MB / 1.438 GB, free: 8.668 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001763/1.151, allocations: 116 kB / 1.438 GB, free: 8.555 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/1.152, allocations: 0.5035 MB / 1.439 GB, free: 8.051 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003032/1.153, allocations: 295 kB / 1.439 GB, free: 7.762 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0005732/1.153, allocations: 0.5558 MB / 1.44 GB, free: 7.203 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/1.156, allocations: 1.658 MB / 1.441 GB, free: 5.539 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.156, allocations: 0 / 1.441 GB, free: 5.539 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.074e-06/1.156, allocations: 0 / 1.441 GB, free: 5.539 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.917e-05/1.156, allocations: 4 kB / 1.441 GB, free: 5.535 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002902/1.159, allocations: 1.483 MB / 1.443 GB, free: 4 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/1.159, allocations: 11.97 kB / 1.443 GB, free: 3.988 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.222e-05/1.159, allocations: 22.19 kB / 1.443 GB, free: 3.965 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/1.159, allocations: 139.2 kB / 1.443 GB, free: 3.82 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/1.16, allocations: 232 kB / 1.443 GB, free: 3.594 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/1.162, allocations: 0.7705 MB / 1.444 GB, free: 2.781 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/1.162, allocations: 62 kB / 1.444 GB, free: 2.723 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.162, allocations: 84 kB / 1.444 GB, free: 2.641 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/1.163, allocations: 0.9105 MB / 1.445 GB, free: 1.688 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/1.163, allocations: 3.938 kB / 1.445 GB, free: 1.684 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.389e-05/1.163, allocations: 36 kB / 1.445 GB, free: 1.648 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/1.164, allocations: 20 kB / 1.445 GB, free: 1.629 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.165, allocations: 1.097 MB / 1.446 GB, free: 0.5312 MB / 1.123 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.004207/1.17, allocations: 2.677 MB / 1.449 GB, free: 13.74 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/1.171, allocations: 0.8179 MB / 1.45 GB, free: 12.9 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/1.172, allocations: 282.6 kB / 1.45 GB, free: 12.62 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.188e-05/1.172, allocations: 32.61 kB / 1.45 GB, free: 12.59 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008846/1.173, allocations: 492.7 kB / 1.45 GB, free: 12.09 MB / 1.139 GB Notification: Performance of pre-optimization done (n=79): time 2.234e-06/1.173, allocations: 0 / 1.45 GB, free: 12.09 MB / 1.139 GB Notification: Performance of matching and sorting (n=79): time 0.003406/1.176, allocations: 1.186 MB / 1.451 GB, free: 10.88 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/1.176, allocations: 188.6 kB / 1.452 GB, free: 10.65 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009377/1.177, allocations: 0.6411 MB / 1.452 GB, free: 10.01 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/1.177, allocations: 49.69 kB / 1.452 GB, free: 9.953 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/1.178, allocations: 401 kB / 1.453 GB, free: 9.555 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/1.178, allocations: 265.7 kB / 1.453 GB, free: 9.293 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/1.178, allocations: 138.6 kB / 1.453 GB, free: 9.152 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.178, allocations: 390.7 kB / 1.453 GB, free: 8.762 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/1.179, allocations: 249.8 kB / 1.454 GB, free: 8.516 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/1.179, allocations: 354.6 kB / 1.454 GB, free: 8.145 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/1.18, allocations: 0.576 MB / 1.455 GB, free: 7.559 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.18, allocations: 0 / 1.455 GB, free: 7.559 MB / 1.139 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002014/1.182, allocations: 0.8061 MB / 1.455 GB, free: 6.742 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/1.182, allocations: 6.344 kB / 1.455 GB, free: 6.738 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/1.182, allocations: 0 / 1.455 GB, free: 6.738 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006451/1.183, allocations: 84.86 kB / 1.455 GB, free: 6.652 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/1.184, allocations: 151.7 kB / 1.456 GB, free: 6.504 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/1.186, allocations: 1.63 MB / 1.457 GB, free: 4.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/1.187, allocations: 86.28 kB / 1.457 GB, free: 4.648 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/1.187, allocations: 31.97 kB / 1.457 GB, free: 4.617 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (85): * Single equations (assignments): 84 * 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.0005136/1.187, allocations: 274.4 kB / 1.458 GB, free: 4.34 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/1.188, allocations: 87.44 kB / 1.458 GB, free: 4.254 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/1.19, allocations: 1.054 MB / 1.459 GB, free: 3.184 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/1.19, allocations: 8 kB / 1.459 GB, free: 3.176 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/1.19, allocations: 3.938 kB / 1.459 GB, free: 3.172 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/1.19, allocations: 3.984 kB / 1.459 GB, free: 3.168 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003387/1.193, allocations: 1.927 MB / 1.461 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/1.193, allocations: 0 / 1.461 GB, free: 1.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000572/1.194, allocations: 143.8 kB / 1.461 GB, free: 1.039 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/1.194, allocations: 76.72 kB / 1.461 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.268e-05/1.195, allocations: 23.98 kB / 1.461 GB, free: 0.9375 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/1.197, allocations: 1.662 MB / 1.462 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.197, allocations: 4.062 kB / 1.462 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/1.199, allocations: 0.9906 MB / 1.463 GB, free: 14.11 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/1.199, allocations: 276.2 kB / 1.464 GB, free: 13.82 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/1.199, allocations: 23.98 kB / 1.464 GB, free: 13.8 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000658/1.2, allocations: 59.94 kB / 1.464 GB, free: 13.74 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/1.2, allocations: 68.91 kB / 1.464 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/1.2, allocations: 35.97 kB / 1.464 GB, free: 13.64 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006506/1.201, allocations: 471 kB / 1.464 GB, free: 13.18 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.201, allocations: 0 / 1.464 GB, free: 13.18 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0009346/1.202, allocations: 323.1 kB / 1.465 GB, free: 12.87 MB / 1.154 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 (90): * Single equations (assignments): 84 * 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.004328/1.206, allocations: 2.035 MB / 1.467 GB, free: 10.98 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001812/1.208, allocations: 0.765 MB / 1.467 GB, free: 10.21 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/1.208, allocations: 0 / 1.467 GB, free: 10.21 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0009862/1.209, allocations: 492.2 kB / 1.468 GB, free: 9.711 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/1.21, allocations: 307.1 kB / 1.468 GB, free: 9.438 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/1.221, allocations: 6.229 MB / 1.474 GB, free: 3.051 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000682/1.222, allocations: 1.023 MB / 1.475 GB, free: 2 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0008643/1.223, allocations: 262.7 kB / 1.475 GB, free: 1.738 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/1.223, allocations: 387.3 kB / 1.476 GB, free: 1.359 MB / 1.154 GB Notification: Performance of SimCode: time 1.193e-06/1.223, allocations: 0 / 1.476 GB, free: 1.359 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05469/1.278, allocations: 21.75 MB / 1.497 GB, free: 11.95 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.37, allocations: 14.2 kB / 1.497 GB, free: 11.95 MB / 1.186 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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: 20.959970191994216]